JourneyJoker/frontend/urls.py

14 lines
No EOL
528 B
Python

from django.urls import path, include
from .views import HomeView, DemoTemplateView, ImpressumView, PrivacyNoticeView, TOSView
app_name = "frontend"
urlpatterns = [
path('', HomeView.as_view(), name="home"),
path('api/places/', include("frontend.places.urls"), name="places"),
path('demo/template/', DemoTemplateView.as_view()),
path('impressum/', ImpressumView.as_view(), name="impressum"),
path('privacy/', PrivacyNoticeView.as_view(), name="privacy"),
path('tos/', TOSView.as_view(), name="tos"),
]