Commit 6739d0ea authored by Christophe Siraut's avatar Christophe Siraut
Browse files

Fixing #892: Problème suite à la migration.

parent 90aef5c5
......@@ -122,7 +122,7 @@ def editchoices(request, poll_id):
if Choice.objects.filter(poll=poll_id).count() == 0:
# Sall we replace next line with something like OrderedItemFormset(extra=2)
OrderedItemFormset = get_ordereditem_formset(ChoiceForm, extra=1, can_delete=True)
vforms = OrderedItemFormset()
vforms = OrderedItemFormset(instance=poll)
vforms = OrderedItemFormset(instance=poll)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment