X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=influences%2Fadmin.py;h=ed4806b678abb8ec45f4c9e0a1215db026bf5650;hb=dc7fe78206756cecc85a3d3271e455c4d1e0cc76;hp=8abe6cc5334ec9c26847747d4b57baf6f5268216;hpb=9b418f3f3b07e7a991d1a2d3d03ae44d0454093e;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/influences/admin.py b/influences/admin.py index 8abe6cc..ed4806b 100644 --- a/influences/admin.py +++ b/influences/admin.py @@ -18,9 +18,9 @@ class CharacterAdmin(admin.ModelAdmin): admin.site.register(Character, CharacterAdmin) class InfluenceAdmin(admin.ModelAdmin): - list_filter=('character', 'status', 'longterm', 'todo') + list_filter=('type', 'status', 'longterm', 'todo', 'character') search_fields=('character', 'summary', 'description', 'contact') - list_display=('character', 'contact', 'summary', 'longterm', 'status') + list_display=('character', 'contact', 'summary', 'longterm', 'status', 'type') class Media: js = ('base/js/yahoo-dom-event.js', 'base/js/logger-debug.js')