6
0

browse_event.py 300 B

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