#28951: loaddata from fixture doesn't work with null=False auto_now_add fields
-------------------------------------+-------------------------------------
Reporter: infintesimal | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 2.0
Severity: Normal | Resolution: wontfix
Keywords: loaddata | Triage Stage:
auto_now_add fixtures | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* status: new => closed
* resolution: => wontfix
Comment:
I agree with Ramiro.
Using fixtures to provide initial data for tests has always been fragile
with regards to schema migrations and trying to be smart for `auto_now`
here would lead to a slippery slope.
--
Ticket URL: <https://code.djangoproject.com/ticket/28951#comment:2>
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/070.3d9d5c53271ea01383f1b43eade8594c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.