Display form error when a permission is missing rather than display a 403 page
This commit is contained in:
parent
227cb2a801
commit
7d539d44e5
4 changed files with 638 additions and 598 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue