#14623: DateTimeField(auto_now=True) does not change when update is called
------------------------------------------+---------------------------------
 Reporter:  mklauber                      |       Owner:  nobody    
   Status:  new                           |   Milestone:  1.3       
Component:  Database layer (models, ORM)  |     Version:  1.2       
 Keywords:  DateTimeField auto_now        |       Stage:  Unreviewed
Has_patch:  0                             |  
------------------------------------------+---------------------------------
 According to documentation, the auto_now property of a
 [http://docs.djangoproject.com/en/1.2/ref/models/fields/#datetimefield
 DateTimeField] is supposed to be useful for tracking last modified dates.
 However, when
 {{{Type.objects.filter(property1="value1").update(property2="value2")}}}
 is called these fields are not updated.  While the documentation does
 state that this value is changed when save() is called, the expected
 behavior is that any change to the record would result in this field
 updating.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14623>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en.

Reply via email to