On Sep 28, 11:27 pm, Iqbal Abdullah <[email protected]> wrote:
> Hi guys,
>
> I have a quick question:
>
> I have set auto_now=True for one of my DateTimeFields.
>
> Lets say I have a model object like so:
>
> >> a = MyModel.objects.get(id="10")
> >> print a.id
> >> "10"
> >> a.id = "10"
> >> a.save()
>
> will this cause my DateTimeField to change it's timestamp?

I would suspect yes, but surely it is trivial to test, and find out?

Matt.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to