6
0

saved_event.py 263 B

1234567
  1. from django.contrib import admin
  2. from webservice_running.models import SavedEvent
  3. @admin.register(SavedEvent)
  4. class SavedEventAdmin(admin.ModelAdmin):
  5. list_display = ('id', 'sportsman', 'event_savedevent')
  6. list_filter = ('sportsman', 'event_savedevent')