fix error for /rightsholders/claim/
parent
bf004702b8
commit
0e8c5cdf98
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue