Re: Forms and 'prefix' parameter

2010-08-05 Thread Daniel Roseman
On Aug 5, 7:16 am, Ed Schofield wrote: > On Aug 5, 2:23 pm, Karen Tracey wrote: > > > > > > > On Thu, Aug 5, 2010 at 12:10 AM, Ed Schofield wrote: > > > Hi everyone, > > > > I'm trying to use a view with multiple forms under Django 1.2.1. I'm > > > puzzled that the prefix parameter seems to scre

Re: Forms and 'prefix' parameter

2010-08-04 Thread Ed Schofield
On Aug 5, 2:23 pm, Karen Tracey wrote: > On Thu, Aug 5, 2010 at 12:10 AM, Ed Schofield wrote: > > Hi everyone, > > > I'm trying to use a view with multiple forms under Django 1.2.1. I'm > > puzzled that the prefix parameter seems to screw up validation. Here's > > a test case: > > > >>> from djan

Re: Forms and 'prefix' parameter

2010-08-04 Thread Ed Schofield
On Aug 5, 2:23 pm, Karen Tracey wrote: > On Thu, Aug 5, 2010 at 12:10 AM, Ed Schofield wrote: > > Hi everyone, > > > I'm trying to use a view with multiple forms under Django 1.2.1. I'm > > puzzled that the prefix parameter seems to screw up validation. Here's > > a test case: > > > >>> from djan

Re: Forms and 'prefix' parameter

2010-08-04 Thread Karen Tracey
On Thu, Aug 5, 2010 at 12:10 AM, Ed Schofield wrote: > Hi everyone, > > I'm trying to use a view with multiple forms under Django 1.2.1. I'm > puzzled that the prefix parameter seems to screw up validation. Here's > a test case: > > > >>> from django import forms > >>> > >>> class MyForm(forms.Fo

Forms and 'prefix' parameter

2010-08-04 Thread Ed Schofield
Hi everyone, I'm trying to use a view with multiple forms under Django 1.2.1. I'm puzzled that the prefix parameter seems to screw up validation. Here's a test case: >>> from django import forms >>> >>> class MyForm(forms.Form): >>> field1 = forms.IntegerField(required=False) >>> field2