From 1c22d84644fc1941ac84ed896a1d2f6e841982e9 Mon Sep 17 00:00:00 2001 From: bri25yu Date: Thu, 16 Apr 2020 12:15:03 -0700 Subject: [PATCH] fixing remove_rsvp to delete_rsvp --- hknweb/events/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hknweb/events/views.py b/hknweb/events/views.py index e28763e0..28a7eaea 100644 --- a/hknweb/events/views.py +++ b/hknweb/events/views.py @@ -69,7 +69,7 @@ def rsvp(request, id): messages.error(request, 'You have already RSVP\'d.') return redirect('/events/' + str(id)) -@login_and_permission('events.remove_rsvp') +@login_and_permission('events.delete_rsvp') def unrsvp(request, id): if request.method != 'POST': raise Http404()