Its not work dear, ou have any other solution?

On Monday, August 14, 2006 at 12:09:53 PM UTC+5:30, Bryan Chow wrote:
>
> Hi Ray,
>
> You can set null=True on your DateField to allow null values in the
> database. Foe example:
>
>     thedate = models.DateField(null=True, blank=True)
>
> Cheers,
> Bryan
>
>
> On 8/13/06, Rares Vernica <[email protected] <javascript:>> wrote:
> > Hi,
> >
> > I have a DateField with blank=True and after I complete and submit the
> > form I get a Django error saying that DateField cannot be null?
> >
> > How can I set the DateField so that it can be empty, and eventually null
> > in the DB?
> >
> > I don't like the idea of manually going and changing the DB schema.
> >
> > Thanks,
> > Ray
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/639bee6b-be77-403d-ad12-5bb9bb00f259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to