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