Initial project
This commit is contained in:
12
survey_service/urls.py
Normal file
12
survey_service/urls.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Root URL routes for the survey service."""
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("", TemplateView.as_view(template_name="welcome.html"), name="welcome"),
|
||||
path("docs/", TemplateView.as_view(template_name="docs.html"), name="docs"),
|
||||
path("admin/", admin.site.urls),
|
||||
path("api/", include("surveys.urls")),
|
||||
]
|
||||
Reference in New Issue
Block a user