On Thu, 2007-10-25 at 11:07 -0700, ZebZiggle wrote:
> Thanks Karen ... do you of a way to override this behavior?
> 
> I can think of many situations where you would want to be able to
> modify it.

auto_now and auto_now_add *always* set the automatic value, they don't
supply default values you can override (this is documented).

If you want more fine-grained control, use the default attribute (which
you can also set to datetime.datetime.now) on the field.

Regards,
Malcolm

-- 
If Barbie is so popular, why do you have to buy her friends? 
http://www.pointy-stick.com/blog/


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

Reply via email to