Enable users to report without sending a mail
This commit is contained in:
parent
f9c33e2cad
commit
2ad0c8dbc7
5 changed files with 119 additions and 6 deletions
|
|
@ -2,7 +2,7 @@ from django.urls import path, re_path
|
|||
|
||||
from .views import (GalleryDetailView, GalleryArchiveIndexView,
|
||||
GalleryDownload, GalleryUpload, GalleryYearArchiveView,
|
||||
PhotoDetailView, PhotoDeleteView, TagDetail)
|
||||
PhotoDetailView, PhotoDeleteView, PhotoReportView, TagDetail)
|
||||
|
||||
app_name = 'photologue'
|
||||
urlpatterns = [
|
||||
|
|
@ -14,5 +14,6 @@ urlpatterns = [
|
|||
path('gallery/<slug:slug>/download/', GalleryDownload.as_view(), name='pl-gallery-download'),
|
||||
path('photo/<int:pk>/', PhotoDetailView.as_view(), name='pl-photo'),
|
||||
path('photo/<int:pk>/delete/', PhotoDeleteView.as_view(), name='pl-photo-delete'),
|
||||
path('photo/<int:pk>/report/', PhotoReportView.as_view(), name='pl-photo-report'),
|
||||
path('upload/', GalleryUpload.as_view(), name='pl-gallery-upload'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue