mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.
This commit is contained in:
parent
cec11a3336
commit
adedc31072
12 changed files with 27 additions and 34 deletions
|
@ -567,11 +567,6 @@ class AlbumAdmin(admin.ModelAdmin):
|
|||
list_filter = ['title']
|
||||
|
||||
|
||||
class WorkHourAdmin(admin.ModelAdmin):
|
||||
list_display = ('datum', 'employee')
|
||||
list_filter = ('employee',)
|
||||
|
||||
|
||||
class PrePopulatedPostLargeSlugAdmin(admin.ModelAdmin):
|
||||
prepopulated_fields = {
|
||||
'slug' : ('title',)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue