6
0

blocked_sportsman.py 283 B

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