academon/core/urls/frontend.py
2022-08-08 09:43:31 +00:00

10 lines
291 B
Python

from django.urls import path, reverse_lazy
from django.views.generic import RedirectView
from ..views.frontend import DashboardView
urlpatterns = [
path("dashboard/", DashboardView.as_view(), name="dashboard"),
path("", RedirectView.as_view(url=reverse_lazy("core:dashboard"))),
]