2015-01-17 14:01:22 +01:00
|
|
|
from __future__ import absolute_import, unicode_literals
|
|
|
|
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
from .views import (
|
|
|
|
IndexView,
|
2015-01-17 15:42:47 +01:00
|
|
|
LogoutView,
|
2015-01-17 14:01:22 +01:00
|
|
|
UserDashboardView,
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
|
|
|
url(r'^$', IndexView.as_view(), name='dashboard'),
|
|
|
|
url(r'^user/(?P<slug>[\w0-9@.+-_]+)/$',
|
|
|
|
UserDashboardView.as_view(), name='customer_dashboard'),
|
2015-01-17 15:42:47 +01:00
|
|
|
url(r'^logout/',
|
|
|
|
LogoutView.as_view(), name='logout'),
|
2015-01-17 14:01:22 +01:00
|
|
|
)
|