mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 01:48:21 +02:00
Display form error when a permission is missing rather than display a 403 page
This commit is contained in:
@ -20,7 +20,7 @@ from .models import Activity, Entry, Guest
|
||||
from .tables import ActivityTable, EntryTable, GuestTable
|
||||
|
||||
|
||||
class ActivityCreateView(ProtectedCreateView):
|
||||
class ActivityCreateView(ProtectQuerysetMixin, ProtectedCreateView):
|
||||
"""
|
||||
View to create a new Activity
|
||||
"""
|
||||
|
Reference in New Issue
Block a user