#26984: Data Migrations and auto_now
-----------------------------+--------------------
Reporter: fizista | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------
In the fields DateField and DateTimeField option auto_now during migration
puts me in confusion.
Normally, the data migration does not perform any external code that would
automatically modify data (for example, own method of "save").
However, it auto_now made during migration automatic changes in the data,
which seems to me not consistent with the idea of data migration.
During data migration there should be no any automatic changes to the
data, at least I think so.
So I proposed to remove action auto_now and / or auto_now_add during
migration.
--
Ticket URL: <https://code.djangoproject.com/ticket/26984>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.69e232ac5da316ffa6c7cac085ec9bba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.