This commit is contained in:
Markos Gogoulos
2025-11-15 19:30:38 +02:00
parent 9ef4ef47f4
commit e8377d4623
9 changed files with 85 additions and 53 deletions

View File

@@ -110,7 +110,7 @@ urlpatterns = [
re_path(r"^manage/users$", views.manage_users, name="manage_users"),
# Media uploads in ADMIN created pages
re_path(r"^tinymce/upload/", tinymce_handlers.upload_image, name="tinymce_upload_image"),
re_path("^(?P<slug>[\w.-]*)$", views.get_page, name="get_page"), # noqa: W605
re_path(r"^(?P<slug>[\w.-]*)$", views.get_page, name="get_page"),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)