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,13 +22,13 @@
|
||||
#
|
||||
#
|
||||
|
||||
from django.urls import re_path
|
||||
from django.urls import path
|
||||
|
||||
from matmat.views import *
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r"^$", SearchNormalFormView.as_view(), name="search"),
|
||||
re_path(r"^reverse$", SearchReverseFormView.as_view(), name="search_reverse"),
|
||||
re_path(r"^quick$", SearchQuickFormView.as_view(), name="search_quick"),
|
||||
re_path(r"^clear$", SearchClearFormView.as_view(), name="search_clear"),
|
||||
path("", SearchNormalFormView.as_view(), name="search"),
|
||||
path("reverse/", SearchReverseFormView.as_view(), name="search_reverse"),
|
||||
path("quick/", SearchQuickFormView.as_view(), name="search_quick"),
|
||||
path("clear/", SearchClearFormView.as_view(), name="search_clear"),
|
||||
]
|
||||
|
Reference in New Issue
Block a user