2023-02-18 22:46:48 +01:00
|
|
|
from __future__ import absolute_import
|
2015-01-17 14:01:22 +01:00
|
|
|
|
2023-02-18 22:46:48 +01:00
|
|
|
from django.urls import re_path
|
2015-01-17 14:01:22 +01:00
|
|
|
|
2023-02-18 22:46:48 +01:00
|
|
|
from .views import IndexView, UserDashboardView
|
2015-01-17 14:01:22 +01:00
|
|
|
|
2015-12-19 20:11:23 +01:00
|
|
|
urlpatterns = [
|
2023-02-18 22:46:48 +01:00
|
|
|
re_path(r"^$", IndexView.as_view(), name="dashboard"),
|
|
|
|
re_path(
|
|
|
|
r"^user/(?P<slug>[\w0-9@.+-_]+)/$",
|
|
|
|
UserDashboardView.as_view(),
|
|
|
|
name="customer_dashboard",
|
|
|
|
),
|
2015-12-19 20:11:23 +01:00
|
|
|
]
|