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