academon/core/urls/frontend.py
2022-09-16 12:51:56 +00:00

12 lines
No EOL
455 B
Python

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