Added some formset attributes which are needed by the current Django (1.6) code. A better way would maybe be to use formset_factory(), but a simple invocation of that gives other problems. Leaving as is for now, to get a patch out so the nomcom chair can get on with things.
- Legacy-Id: 8370
This commit is contained in:
parent
ec3e247732
commit
25423f6779
|
@ -565,6 +565,9 @@ def view_feedback_pending(request, year):
|
|||
extra_ids = request.POST.get('extra_ids', None)
|
||||
extra_step = True
|
||||
formset = FullFeedbackFormSet(request.POST)
|
||||
# workaround -- why isn't formset_factory() being used?
|
||||
formset.absolute_max = 2000
|
||||
formset.validate_max = False
|
||||
for form in formset.forms:
|
||||
form.set_nomcom(nomcom, request.user)
|
||||
if formset.is_valid():
|
||||
|
|
Loading…
Reference in a new issue