phase3: add normalized domain schema, admin, services, and multistage docker build
This commit is contained in:
10
apps/teams/admin.py
Normal file
10
apps/teams/admin.py
Normal file
@ -0,0 +1,10 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import Team
|
||||
|
||||
|
||||
@admin.register(Team)
|
||||
class TeamAdmin(admin.ModelAdmin):
|
||||
list_display = ("name", "short_name", "country", "is_national_team")
|
||||
list_filter = ("is_national_team", "country")
|
||||
search_fields = ("name", "short_name", "slug")
|
||||
Reference in New Issue
Block a user