feat: Only allow logged-in users to edit adoption notices
This commit is contained in:
parent
0dc391b432
commit
f4ac22ba3d
@ -67,6 +67,7 @@ def adoption_notice_detail(request, adoption_notice_id):
|
|||||||
return render(request, 'fellchensammlung/details/detail_adoption_notice.html', context=context)
|
return render(request, 'fellchensammlung/details/detail_adoption_notice.html', context=context)
|
||||||
|
|
||||||
|
|
||||||
|
@login_required()
|
||||||
def adoption_notice_edit(request, adoption_notice_id):
|
def adoption_notice_edit(request, adoption_notice_id):
|
||||||
"""
|
"""
|
||||||
Form to update adoption notices
|
Form to update adoption notices
|
||||||
|
Loading…
Reference in New Issue
Block a user