phase5: add saved searches, watchlist, and authenticated htmx flows

This commit is contained in:
Alfredo Di Stasio
2026-03-10 10:58:39 +01:00
parent c83bc96b6c
commit f207ffbad8
18 changed files with 543 additions and 6 deletions

12
apps/scouting/forms.py Normal file
View File

@ -0,0 +1,12 @@
from django import forms
from .models import SavedSearch
class SavedSearchForm(forms.ModelForm):
class Meta:
model = SavedSearch
fields = ["name", "is_public"]
widgets = {
"name": forms.TextInput(attrs={"placeholder": "e.g. EuroLeague guards under 24"}),
}