From 0e8c5cdf9896aaf10d0b20d77562b417c276b1d8 Mon Sep 17 00:00:00 2001 From: eric Date: Thu, 26 Jul 2018 20:43:30 -0400 Subject: [PATCH] fix error for /rightsholders/claim/ --- frontend/views/rh_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views/rh_views.py b/frontend/views/rh_views.py index 0faeff5f..86fef6a8 100644 --- a/frontend/views/rh_views.py +++ b/frontend/views/rh_views.py @@ -90,7 +90,7 @@ class ClaimView(CreateView): form.save() return HttpResponseRedirect(reverse('rightsholders')) - def get_context_data(self, form): + def get_context_data(self, form=None): try: work = form.cleaned_data['work'] except AttributeError: