mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
upgrade re_path to path (#533)
This commit is contained in:
@ -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"),
|
||||
]
|
||||
|
Reference in New Issue
Block a user