6
0

achievement.py 290 B

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