Fix tests

This commit is contained in:
Jan Dittberner 2023-04-29 13:10:25 +02:00
parent 866f6c8083
commit d88745f46b
11 changed files with 35 additions and 116 deletions

View file

@ -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"),
]