academon/core/urls/frontend.py

10 lines
325 B
Python
Raw Normal View History

2022-08-08 09:43:31 +00:00
from django.urls import path, reverse_lazy
from django.views.generic import RedirectView
2022-09-16 12:51:56 +00:00
from ..views.frontend import DashboardView, NotImplementedView
2022-08-08 09:43:31 +00:00
urlpatterns = [
path("dashboard/", DashboardView.as_view(), name="dashboard"),
2022-09-16 15:40:15 +00:00
path("", RedirectView.as_view(url=reverse_lazy("core:dashboard")), name="index"),
2022-08-08 09:43:31 +00:00
]