6
0

browse_sportsman.py 312 B

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