phase2: add modular apps, auth scaffolding, and base template routing

This commit is contained in:
Alfredo Di Stasio
2026-03-10 10:27:40 +01:00
parent 35686bdb66
commit f47ffe6c15
63 changed files with 594 additions and 24 deletions

0
apps/players/__init__.py Normal file
View File

6
apps/players/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class PlayersConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.players"

View File

9
apps/players/urls.py Normal file
View File

@ -0,0 +1,9 @@
from django.urls import path
from .views import PlayersHomeView
app_name = "players"
urlpatterns = [
path("", PlayersHomeView.as_view(), name="index"),
]

5
apps/players/views.py Normal file
View File

@ -0,0 +1,5 @@
from django.views.generic import TemplateView
class PlayersHomeView(TemplateView):
template_name = "players/index.html"