2017-08-18 13:02:31 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^$', views.DashboardRedirect.as_view(), name='dashboard'),
|
2017-08-20 15:57:48 +00:00
|
|
|
url(r'^dashboard/$', views.Dashboard.as_view(), name='dashboard-all'),
|
2017-08-18 13:02:31 +00:00
|
|
|
url(r'children/(?P<slug>[^/.]+)/dashboard/$',
|
2017-08-19 18:57:21 +00:00
|
|
|
views.ChildDashboard.as_view(), name='dashboard-child'),
|
2017-08-18 13:02:31 +00:00
|
|
|
]
|