academon/core/urls/frontend.py

10 lines
291 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
from ..views.frontend import DashboardView
urlpatterns = [
path("dashboard/", DashboardView.as_view(), name="dashboard"),
path("", RedirectView.as_view(url=reverse_lazy("core:dashboard"))),
]