Difference between auto_now and auto_now_add
问题 What I understood in Django models field's attributes is auto_now - updates the value of field to current time and date every time the Model.save() is called. auto_now_add - updates the value with the time and date of creation of record. My question is what if a filed in model contains both the auto_now and auto_now_add set to True? What happens in that case? 回答1: auto_now takes precedence (obviously, because it updates field each time, while auto_now_add updates on creation only). Here is