#15068: initial_data fixtures using natural keys fail in tests with multiple
databases
----------------------------------------+-----------------------------------
Reporter: dcramer | Owner: nobody
Status: closed | Milestone:
Component: Testing framework | Version: 1.2
Resolution: invalid | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Comment (by russellm):
Following discussion with David on IRC: This appears to be a case of
#13252. His fixture had objects that didn't provide PKs, and he was
assuming that this would cause "create if doesn't exist" type behavior.
--
Ticket URL: <http://code.djangoproject.com/ticket/15068#comment:4>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.