fix error for /rightsholders/claim/

pull/95/head
eric 2018-07-26 20:43:30 -04:00
parent bf004702b8
commit 0e8c5cdf98
1 changed files with 1 additions and 1 deletions

View File

@ -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: