feat: Only allow logged-in users to edit adoption notices

This commit is contained in:
moanos [he/him] 2024-05-31 16:42:32 +02:00
parent 0dc391b432
commit f4ac22ba3d

View File

@ -67,6 +67,7 @@ def adoption_notice_detail(request, adoption_notice_id):
return render(request, 'fellchensammlung/details/detail_adoption_notice.html', context=context)
@login_required()
def adoption_notice_edit(request, adoption_notice_id):
"""
Form to update adoption notices