upgrade re_path to path (#533)

This commit is contained in:
thomas girod authored and GitHub committed 2023-01-09 22:07:03 +01:00
1 parent 37216cd16b
commit 99827e005b
19 files changed
+528 -536

No files matched your search

+3 -3
View File
@@ -22,12 +22,12 @@
#
#
from django.urls import re_path
from django.urls import path
from subscription.views import *
urlpatterns = [
# Subscription views
re_path(r"^$", NewSubscription.as_view(), name="subscription"),
re_path(r"stats", SubscriptionsStatsView.as_view(), name="stats"),
path("", NewSubscription.as_view(), name="subscription"),
path("stats/", SubscriptionsStatsView.as_view(), name="stats"),
]