list_display = ('name', 'flags', 'course', 'is_hidden', 'uploaded_at', 'ip')
# Sort by highest number of flags first, and then by date for ties
ordering = ('-flags', '-uploaded_at')
- # Enable resetting flags
+ # Enable resetting flagsoo
actions = (reset_flags, hide_notes, show_notes)
# Structure views of Department objects
# Identify fields to display on the Change page
list_display = ('name', 'school', 'url')
# Sort by highest number of flags first, and then by date for ties
- ordering = ('-flags', '-uploaded_at')
+ ordering = ()
# Enable resetting flags
actions = (reset_flags,)
# Identify fields to display on the Change page
list_display = ('name', 'email')
# Sort by highest number of flags first, and then by date for ties
- ordering = ('-flags', '-uploaded_at')
+ ordering = ()
# Enable resetting flags
actions = (reset_flags,)