Skip to content

Commit

Permalink
Remove tags field in Event admin (tags field is a inline form)
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeG committed Jul 2, 2018
1 parent 9772973 commit a56b1c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eventol/manager/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class EventTagInline(admin.TabularInline):

class EventAdmin(EventoLAdmin):
inlines = [EventDateAdminInline, EventTagInline]
exclude = ['tags']

def filter_event(self, events, queryset):
return queryset.filter(pk__in=[event.pk for event in events])
Expand Down

0 comments on commit a56b1c7

Please sign in to comment.