-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

That could be the problem, I have a field:     birthday =
models.DateField(blank=True)
I set blank=True because null=True wasn't working. Could that be the
problem?

But I am not using any strings for dates. This is the only
Date(Time)Field I have in this model.

lucas


Don Arbow wrote:
> On Oct 18, 2006, at 5:29 AM, Lucas Vogelsang wrote:
>> ...[snip]...
>
>
> How about your model? I'll bet you have a DateTimeField that has a
>  default like '0000-00-00 00:00:00'? Your DateTimeFields cannot
> have string defaults, they must be datetime objects.
>
That could be the problem, I have a field:     birthday =
models.DateField(blank=True)
I set blank=True because null=True wasn't working. Could that be the
problem?

But I am not using any strings for dates. This is the only
Date(Time)Field I have in this model.

lucas
> Don
>
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Signed with GPG & Enigmail - see http://www.vincisolutions.ch/pgp/

iD8DBQFFNppg3RQ/RpGW2HgRAhJIAKCMfgkCgeJQ8Y+qK8bAbPxE2eJwUQCgw2vb
mrCR7e6yTsuguxzCya7czb0=
=VYYG
-----END PGP SIGNATURE-----


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to