Skip to content

Commit

Permalink
Add filter_horizontal fields in EventAdmin
Browse files Browse the repository at this point in the history
This is progress on #11
  • Loading branch information
yuvadm committed Nov 29, 2015
1 parent 6f34696 commit edb1efd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daat/maps/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def save_model(self, request, obj, form, change):
class EventAdmin(CreatorMixin, admin.ModelAdmin):
list_display = ('title', 'project', 'place', 'start_date', 'end_date', 'published')
list_filter = ('creator', 'project', 'published')
filter_horizontal = ('people', 'organizations', 'media',)
exclude = ('deleted',)
actions = [make_published]
save_as = True
Expand Down

0 comments on commit edb1efd

Please sign in to comment.