mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-19 07:15:04 +01:00
django.conf.urls.url is deprecated
This commit is contained in:
@@ -38,7 +38,7 @@ The app's `urls.py` would look like so:
|
||||
import plugin.views
|
||||
|
||||
urlpatterns = [
|
||||
url(r^'index$', plugins.views.index, name='index'),
|
||||
re_path(r^'index$', plugins.views.index, name='index'),
|
||||
]
|
||||
|
||||
Subsequently it would implement the UrlHook in a dedicated `auth_hooks.py` file like so:
|
||||
|
||||
Reference in New Issue
Block a user