mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-10 09:06:21 +01:00
Switch to path, use re_path only when really needed
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
from django.urls import re_path
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = 'permissions_tool'
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'^overview/$', views.permissions_overview, name='overview'),
|
||||
path('overview/', views.permissions_overview, name='overview'),
|
||||
re_path(r'^audit/(?P<app_label>[\w\-_]+)/(?P<model>[\w\-_]+)/(?P<codename>[\w\-_]+)/$', views.permissions_audit,
|
||||
name='audit'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user