Add (temporary) view to showcase template

This commit is contained in:
Kumi 2021-05-30 07:41:29 +02:00
parent e3cd6c9822
commit cde75f0f6c
2 changed files with 6 additions and 2 deletions

View file

@ -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()),
]

View file

@ -5,3 +5,6 @@ class HomeView(TemplateView):
class Error404View(TemplateView):
template_name = "frontend/404.html"
class DemoTemplateView(TemplateView):
template_name = "mail/verify.html"