Hi, update_or_create adds auto_now fields to the update_fields passed to the model save in case of an update. However, it also adds any field overriding Field.pre_save() method. As a consequence any DateField will be added to update_field even if it is not an auto_now. Should the addition of fields to the update_fields be more restrictive and be limited to the auto_now and auto_now_add fields?
Regards, Mathieu -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/af34a7e9-4eba-44bf-bb0c-49e4c4a54816n%40googlegroups.com.