Initial commit
This commit is contained in:
12
env/lib/python3.10/site-packages/wagtail/documents/urls.py
vendored
Normal file
12
env/lib/python3.10/site-packages/wagtail/documents/urls.py
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
from django.urls import path, re_path
|
||||
|
||||
from wagtail.documents.views import serve
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r"^(\d+)/(.*)$", serve.serve, name="wagtaildocs_serve"),
|
||||
path(
|
||||
"authenticate_with_password/<int:restriction_id>/",
|
||||
serve.authenticate_with_password,
|
||||
name="wagtaildocs_authenticate_with_password",
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user