Add (temporary) view to showcase template
This commit is contained in:
parent
e3cd6c9822
commit
cde75f0f6c
2 changed files with 6 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
from django.urls import path, include
|
||||
|
||||
from .views import HomeView
|
||||
from .views import HomeView, DemoTemplateView
|
||||
|
||||
app_name = "frontend"
|
||||
|
||||
urlpatterns = [
|
||||
path('', HomeView.as_view(), name="home"),
|
||||
path('api/places/', include("public.places.urls"), name="places"),
|
||||
path('demo/template/', DemoTemplateView.as_view()),
|
||||
]
|
|
@ -4,4 +4,7 @@ class HomeView(TemplateView):
|
|||
template_name = "frontend/index.html"
|
||||
|
||||
class Error404View(TemplateView):
|
||||
template_name = "frontend/404.html"
|
||||
template_name = "frontend/404.html"
|
||||
|
||||
class DemoTemplateView(TemplateView):
|
||||
template_name = "mail/verify.html"
|
Loading…
Reference in a new issue