Re: inlineformset_factory bug

2010-02-20 Thread Russell Keith-Magee
On Sat, Feb 20, 2010 at 11:09 PM, Alexandru Nedelcu wrote: > On Feb 20, 1:54 pm, Russell Keith-Magee > wrote: >> Django is currently in bugfix mode, but this could be a candidate >> feature for Django 1.3. In order for this to happen, it needs to be >> reported in Trac, and someone needs to come

Re: inlineformset_factory bug

2010-02-20 Thread Alexandru Nedelcu
On Feb 20, 1:54 pm, Russell Keith-Magee wrote: > "if form.errors" will work fine - as long as you're using a form. It > will also work fine if you're iterating over a formset to get the > consituent forms. There are also instances where I want to have global errors (i.e. non_form_errors) ... like

Re: inlineformset_factory bug

2010-02-20 Thread Russell Keith-Magee
On Sat, Feb 20, 2010 at 3:30 PM, Alexandru Nedelcu wrote: > Hi, > > I want to report a bug ... is here OK? The best place to report a bug is in our Trac instance. However, that said: > I have an InlineFormSet ... created like so ... > >    inlineformset_factory(MainModel, ChildModel, extra=1, >

inlineformset_factory bug

2010-02-20 Thread Alexandru Nedelcu
Hi, I want to report a bug ... is here OK? I have an InlineFormSet ... created like so ... inlineformset_factory(MainModel, ChildModel, extra=1, exclude=('num',)) Trouble is in /var/lib/elf-lib/src/django/django/forms/formsets.py:269 in full_clean() ... for i in range(0, self.total_for