feat: add scouting shortlist mvp
This commit is contained in:
@ -2,6 +2,7 @@ from django.contrib import admin
|
||||
|
||||
from .models import (
|
||||
Competition,
|
||||
FavoritePlayer,
|
||||
Player,
|
||||
PlayerSeason,
|
||||
PlayerSeasonStats,
|
||||
@ -68,3 +69,9 @@ class PlayerSeasonStatsAdmin(admin.ModelAdmin):
|
||||
"blocks",
|
||||
)
|
||||
search_fields = ("player_season__player__full_name", "player_season__season__name")
|
||||
|
||||
|
||||
@admin.register(FavoritePlayer)
|
||||
class FavoritePlayerAdmin(admin.ModelAdmin):
|
||||
list_display = ("player", "created_at")
|
||||
search_fields = ("player__full_name",)
|
||||
|
||||
Reference in New Issue
Block a user