1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.

This commit is contained in:
Tim Graham
2013-10-10 11:07:48 -04:00
parent cec11a3336
commit adedc31072
12 changed files with 27 additions and 34 deletions

View File

@@ -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',)