mybuddy/dashboard/urls.py

16 lines
316 B
Python

# -*- coding: utf-8 -*-
from django.urls import path
from . import views
app_name = 'dashboard'
urlpatterns = [
path('dashboard/', views.Dashboard.as_view(), name='dashboard'),
path(
'children/<str:slug>/dashboard/',
views.ChildDashboard.as_view(),
name='dashboard-child'
),
]