#32012: Test runner setup_databases crashes with "TEST": {"MIGRATE": False}.
-------------------------------------+-------------------------------------
Reporter: Jaap Roes | Owner: felixxm
Type: Bug | Status: assigned
Component: Testing framework | Version: 3.1
Severity: Release blocker | Resolution:
Keywords: testrunner crash | Triage Stage: Accepted
setup database migrations |
disabled |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jaap Roes):
Replying to [comment:4 felixxm]:
> > Is (test) fixture loading somehow tied to migrations?
>
> I don't think so, you've probably have these data somewhere is
migrations.
>
Ah maybe, I do have a callable default that `gets_or_creates` an object. I
guess that callable is executed during migrations but not when syncing the
database.
Thanks for the patch, hope to see it merged soon.
--
Ticket URL: <https://code.djangoproject.com/ticket/32012#comment:6>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.57a0a448f93869721234de64f3b2a12a%40djangoproject.com.