klipstein/dojango — Issue #37: 37 - dojango formset_factory doesn't support initial 
Author: klipstein
Created: 2011-11-06 12:57:17+00:00
State: open

What steps will reproduce the problem?
1.
from dojango import forms
from dojango.forms.formsets import formset_factory
class TitleForm(forms.Form):
title = forms.CharField()
2.
set= formset_factory(TitleForm, can_order = True)
3.
set(initial = ({'title':'roar'},))

What is the expected output? What do you see instead?
The expected output is a formset, but instead you get
AttributeError: 'FormFormSet' object has no attribute '_initial_form_count'

What version of the product are you using? On what operating system?
dojango .4
ubuntu jaunty

Please provide any additional information below.
It works without can_order

Original link: http://code.google.com/p/dojango/issues/detail?id=37