Hi, in section "Specifying which fields to save" (https://docs.djangoproject.com/en/dev/ref/models/instances/#specifying-which-fields-to-save) it reads that `update_fields` can be specified mostly for performance benefits... However, I found that regarding a field with "auto_now=True" there is a different outcome. IOW, specifying `update_fields` can be used to keep the old date in respective "auto_now=True"-field UNLESS that field is also explicitly given un `update_fields`
I hope I got this correct - at least that was the impression from my own tests with Django 2.1. Than this should be more prominently stated in the documentation. Thanks for Django. Sebastian -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e2eb3a04-9c61-4a54-889f-32a5525b34a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.