from django.urls import path, include from .views import HomeView, DemoTemplateView, ImpressumView, PrivacyNoticeView, TOSView, InspirationsView, LanguageChoiceView, InspirationsCountryAPIView, InspirationsRegionAPIView, InspirationsAPIView, LocaleVariableView 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"), path('inspirations/', InspirationsView.as_view(), name="inspirations"), path('api/setlang//', LanguageChoiceView.as_view(), name="languagechoice"), path('api/getvars/', LocaleVariableView.as_view(), name="getvars"), path('api/inspirations/country/', InspirationsCountryAPIView.as_view(), name="inspirationscountriesapi"), path('api/inspirations/country//', InspirationsRegionAPIView.as_view(), name="inspirationsregionsapi"), path('api/inspirations/region//', InspirationsAPIView.as_view(), name="inspirationsapi"), path('no_js/', HomeView.as_view(), name="nojs"), ]