Add configurable per-gallery public access
This commit is contained in:
parent
72e9344102
commit
1cdd1dce26
10 changed files with 119 additions and 45 deletions
|
|
@ -9,6 +9,7 @@ from .views import (
|
|||
GalleryArchiveIndexView,
|
||||
GalleryDetailView,
|
||||
GalleryDownload,
|
||||
GalleryPublicToggleView,
|
||||
GalleryUpload,
|
||||
GalleryYearArchiveView,
|
||||
PhotoDeleteView,
|
||||
|
|
@ -44,4 +45,5 @@ urlpatterns = [
|
|||
path("photo/<int:pk>/report/", PhotoReportView.as_view(), name="pl-photo-report"),
|
||||
path("photo/<int:pk>/uncensor/", PhotoUncensorView.as_view(), name="pl-photo-uncensor"),
|
||||
path("upload/", GalleryUpload.as_view(), name="pl-gallery-upload"),
|
||||
path("gallery/<slug:slug>/toggle-public/", GalleryPublicToggleView.as_view(), name="pl-gallery-toggle-public"),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue