mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-10 00:56:19 +01:00
django.conf.urls.url is deprecated, more to fix
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
from django.conf.urls import url
|
||||
|
||||
from django.urls import re_path
|
||||
from . import views
|
||||
|
||||
app_name = 'corputils'
|
||||
urlpatterns = [
|
||||
url(r'^$', views.corpstats_view, name='view'),
|
||||
url(r'^add/$', views.corpstats_add, name='add'),
|
||||
url(r'^(?P<corp_id>(\d)*)/$', views.corpstats_view, name='view_corp'),
|
||||
url(r'^(?P<corp_id>(\d)+)/update/$', views.corpstats_update, name='update'),
|
||||
url(r'^search/$', views.corpstats_search, name='search'),
|
||||
re_path(r'^$', views.corpstats_view, name='view'),
|
||||
re_path(r'^add/$', views.corpstats_add, name='add'),
|
||||
re_path(r'^(?P<corp_id>(\d)*)/$', views.corpstats_view, name='view_corp'),
|
||||
re_path(r'^(?P<corp_id>(\d)+)/update/$', views.corpstats_update, name='update'),
|
||||
re_path(r'^search/$', views.corpstats_search, name='search'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user