-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/20/2012 05:11 PM, Yo-Yo Ma wrote: > I understand that ``QuerySet.update`` issues an UPDATE SQL statement, > but Django's code could be modified to include each ``auto_now=True`` > field on a model in the UPDATE statement, setting the value to > ``datetime.now()`` as it does when you use ``Model.save``.
There is already a ticket for this (#15566). Carl -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9C5YkACgkQ8W4rlRKtE2dlyQCcCXYg8kWqVda8SWDOcehpCNXc MIUAoIl018Rwf+b0hdxq0YI2uw46vepc =Njjf -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.