Skip to content

Commit 25423f6

Browse files
committed
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
1 parent ec3e247 commit 25423f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ietf/nomcom/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,9 @@ def view_feedback_pending(request, year):
565565
extra_ids = request.POST.get('extra_ids', None)
566566
extra_step = True
567567
formset = FullFeedbackFormSet(request.POST)
568+
# workaround -- why isn't formset_factory() being used?
569+
formset.absolute_max = 2000
570+
formset.validate_max = False
568571
for form in formset.forms:
569572
form.set_nomcom(nomcom, request.user)
570573
if formset.is_valid():

0 commit comments

Comments
 (0)