6
0

event_gallery.py 230 B

1234567
  1. from django.contrib import admin
  2. from webservice_running.models import EventGallery
  3. @admin.register(EventGallery)
  4. class EventGalleryAdmin(admin.ModelAdmin):
  5. list_display = ('id', 'event', 'image')
  6. list_filter = ('event',)