feat: add shared scouting notes mvp
This commit is contained in:
@ -4,6 +4,7 @@ from .models import (
|
||||
Competition,
|
||||
FavoritePlayer,
|
||||
Player,
|
||||
PlayerNote,
|
||||
PlayerSeason,
|
||||
PlayerSeasonStats,
|
||||
Role,
|
||||
@ -75,3 +76,9 @@ class PlayerSeasonStatsAdmin(admin.ModelAdmin):
|
||||
class FavoritePlayerAdmin(admin.ModelAdmin):
|
||||
list_display = ("player", "created_at")
|
||||
search_fields = ("player__full_name",)
|
||||
|
||||
|
||||
@admin.register(PlayerNote)
|
||||
class PlayerNoteAdmin(admin.ModelAdmin):
|
||||
list_display = ("player", "created_at", "updated_at")
|
||||
search_fields = ("player__full_name", "body")
|
||||
|
||||
Reference in New Issue
Block a user