Fix tests
This commit is contained in:
parent
866f6c8083
commit
d88745f46b
11 changed files with 35 additions and 116 deletions
|
@ -1,14 +1,9 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
from django.urls import re_path
|
||||
from django.urls import path
|
||||
|
||||
from .views import IndexView, UserDashboardView
|
||||
from .views import UserDashboardView
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r"^$", IndexView.as_view(), name="dashboard"),
|
||||
re_path(
|
||||
r"^user/(?P<slug>[\w0-9@.+-_]+)/$",
|
||||
UserDashboardView.as_view(),
|
||||
name="customer_dashboard",
|
||||
),
|
||||
path("", UserDashboardView.as_view(), name="customer_dashboard"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue