Skip to content

Commit

Permalink
Add filter by status for veranstaltung
Browse files Browse the repository at this point in the history
  • Loading branch information
ckleemann committed Dec 21, 2016
1 parent b8ab0db commit 284b157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feedback/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class VeranstaltungAdmin(admin.ModelAdmin):
list_display = ('typ', 'name', 'semester', 'grundstudium', 'evaluieren', 'anzahl',
'sprache', 'status', 'veranstalter_list')
list_display_links = ['name']
list_filter = ('typ', 'semester', 'grundstudium', 'evaluieren', 'sprache')
list_filter = ('typ', 'semester', 'status', 'grundstudium', 'evaluieren', 'sprache')
search_fields = ['name']
filter_horizontal = ('veranstalter', 'ergebnis_empfaenger') # @see http://stackoverflow.com/a/5386871
readonly_fields = ('link_veranstalter',)
Expand Down

0 comments on commit 284b157

Please sign in to comment.