Re: Strange New Forms Issue

2008-05-15 Thread Chris
Cool I resolved the error. So when you have a drop down list for an IntegerField that is an optional IntegerField in the database, you must set some sort of validation to tell this optional field to be None (for the obvious reasons). What I didn't realize is when I had a choices list set in the Ch

Re: Strange New Forms Issue

2008-05-15 Thread Chris
Hi Karen, I have a form with first_name, last_name and email and once the user presses submit, it will then save the 3 required fields to the database and send the data to another form containing additional fields suchas year_of_birth, phone_number, address,city, state, etc... The 3 required fiel

Re: Strange New Forms Issue

2008-05-15 Thread Karen Tracey
On Wed, May 14, 2008 at 6:14 PM, Chris <[EMAIL PROTECTED]> wrote: > > Hello I created a new forms form and I am having uses with this > statement: > >year_of_birth = forms.ChoiceField(required=False, > choices=YEAR_OF_BIRTH) > > and tuple looks like so: >year_of_birth = ((1990, '1990'), (1

Re: Strange New Forms Issue

2008-05-15 Thread Chris
Could someone help me out with this error or Warning as it states in the exception? On May 14, 6:14 pm, Chris <[EMAIL PROTECTED]> wrote: > Hello I created a new forms form and I am having uses with this > statement: > > year_of_birth = forms.ChoiceField(required=False, > choices=YEAR_OF_BIRTH

Strange New Forms Issue

2008-05-14 Thread Chris
Hello I created a new forms form and I am having uses with this statement: year_of_birth = forms.ChoiceField(required=False, choices=YEAR_OF_BIRTH) and tuple looks like so: year_of_birth = ((1990, '1990'), (1989, '1989'), ...) On my local dev server, I have latest django and use sqllite