Re: Problem using newforms cleaned_data with Oracle and DateField

2007-09-18 Thread Catriona
Hi Ian In my model, I have specified db_table = "Survey" so I don't think that is the problem I'll have another play with it and see if I can get further. Thanks Catriona On Sep 19, 9:50 am, Ian <[EMAIL PROTECTED]> wrote: > I'm unable to reproduce the error you're getting. The default table

Re: Problem using newforms cleaned_data with Oracle and DateField

2007-09-18 Thread Ian
I'm unable to reproduce the error you're getting. The default table name would be app_survey rather than just survey, where app is the name of the application, so you might check that the table you listed is the same table that Django is using. Hope that helps, Ian On Sep 18, 5:03 pm, Catriona

Re: Problem using newforms cleaned_data with Oracle and DateField

2007-09-18 Thread Catriona
Hi Ian Sorry I should have given you this info. I am using Python 2.5.1 and Django 6051. I get the following when I run a describe on the table - sorry it is a bit messy Object Type TABLE Object SURVEY Table Column Data Type Length Precision Scale Primary Key Nullable Default Comment

Re: Problem using newforms cleaned_data with Oracle and DateField

2007-09-18 Thread Ian
Catriona, What versions of Python and Django are you using? What output do you get from running a describe on the Survey model's table? Ian On Sep 17, 5:07 pm, Catriona <[EMAIL PROTECTED]> wrote: > Hello > > I'm a newbie to Django and Python so sorry if this is a dumb mistake > on my behalf. >

Problem using newforms cleaned_data with Oracle and DateField

2007-09-17 Thread Catriona
Hello I'm a newbie to Django and Python so sorry if this is a dumb mistake on my behalf. I have a model (using an Oracle XE backend): class Survey(models.Model): company = models.ForeignKey(Company, null = False, blank = False) survey_name = models.CharField(max_length = 50,