gva/gnuviechadmin/dashboard/urls.py
Jan Dittberner 8a29e4001c add dashboard app
- add new dashboard app providing dashboards for anonymous and logged in users
- cleanup gnuviechadmin.urls:
  - import dashboard.urls and include dashboard_urls at URL root
  - import authentication urls and include them below /auth
  - remove generated commented code
2015-01-17 14:05:04 +01:00

16 lines
363 B
Python

from __future__ import absolute_import, unicode_literals
from django.conf.urls import patterns, url
from .views import (
IndexView,
UserDashboardView,
)
urlpatterns = patterns(
'',
url(r'^$', IndexView.as_view(), name='dashboard'),
url(r'^user/(?P<slug>[\w0-9@.+-_]+)/$',
UserDashboardView.as_view(), name='customer_dashboard'),
)