fix error for /rightsholders/claim/
parent
bf004702b8
commit
0e8c5cdf98
|
@ -90,7 +90,7 @@ class ClaimView(CreateView):
|
||||||
form.save()
|
form.save()
|
||||||
return HttpResponseRedirect(reverse('rightsholders'))
|
return HttpResponseRedirect(reverse('rightsholders'))
|
||||||
|
|
||||||
def get_context_data(self, form):
|
def get_context_data(self, form=None):
|
||||||
try:
|
try:
|
||||||
work = form.cleaned_data['work']
|
work = form.cleaned_data['work']
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
Loading…
Reference in New Issue