#15566: .update queries should affect Date*Field's with auto_now -------------------------------------+------------------------------------- Reporter: jdunck | Owner: bberes Status: assigned | Milestone: Component: Database | Version: 1.2 layer (models, ORM) | Keywords: Resolution: | Has patch: 1 Triage Stage: Accepted | Needs tests: 0 Needs documentation: 0 | Patch needs improvement: 1 | -------------------------------------+------------------------------------- Changes (by bberes):
* status: new => assigned * needs_better_patch: 0 => 1 * has_patch: 0 => 1 * owner: nobody => bberes * stage: Unreviewed => Accepted Comment: Yes, I think it's reasonable to expect auto_now=True to work with .update(). Just attached a basic regressiontest for now. -- Ticket URL: <http://code.djangoproject.com/ticket/15566#comment:1> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.