Fixed duplicate class in admin.py
authorwilliambratches <williambratches@gmail.com>
Tue, 25 Mar 2014 20:12:12 +0000 (16:12 -0400)
committerwilliambratches <williambratches@gmail.com>
Tue, 25 Mar 2014 20:12:12 +0000 (16:12 -0400)
karmaworld/apps/moderation/admin.py

index 321a2bc11eb37d91dd996fe9560e9a1bdcb6fc60..e99d535224a5c223d2f1f3c5d8ebe577fa68371a 100644 (file)
@@ -61,7 +61,7 @@ class DepartmentModerator(NoteAdmin):
     actions = (reset_flags,)
 
 # Structure views of Professor objects
-class DepartmentModerator(NoteAdmin):
+class ProfessorModerator(NoteAdmin):
     date_heirarchy = 'uploaded_at'
     # Identify fields to display on the Change page
     list_display = ('name', 'email')