phase2: add modular apps, auth scaffolding, and base template routing
This commit is contained in:
0
apps/scouting/__init__.py
Normal file
0
apps/scouting/__init__.py
Normal file
6
apps/scouting/apps.py
Normal file
6
apps/scouting/apps.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ScoutingConfig(AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "apps.scouting"
|
||||
0
apps/scouting/migrations/__init__.py
Normal file
0
apps/scouting/migrations/__init__.py
Normal file
9
apps/scouting/urls.py
Normal file
9
apps/scouting/urls.py
Normal file
@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import ScoutingHomeView
|
||||
|
||||
app_name = "scouting"
|
||||
|
||||
urlpatterns = [
|
||||
path("", ScoutingHomeView.as_view(), name="index"),
|
||||
]
|
||||
5
apps/scouting/views.py
Normal file
5
apps/scouting/views.py
Normal file
@ -0,0 +1,5 @@
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
|
||||
class ScoutingHomeView(TemplateView):
|
||||
template_name = "scouting/index.html"
|
||||
Reference in New Issue
Block a user