From: williambratches Date: Tue, 25 Mar 2014 20:12:12 +0000 (-0400) Subject: Fixed duplicate class in admin.py X-Git-Tag: release-20150131~144^2~12^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=003508992adcd85ff57cf904c261eade43848cc0;p=oweals%2Fkarmaworld.git Fixed duplicate class in admin.py --- diff --git a/karmaworld/apps/moderation/admin.py b/karmaworld/apps/moderation/admin.py index 321a2bc..e99d535 100644 --- a/karmaworld/apps/moderation/admin.py +++ b/karmaworld/apps/moderation/admin.py @@ -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')