6
0

sportsman_gallery.py 250 B

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