#14799: Test database creation order problem after r14696
----------------------------------------+-----------------------------------
Reporter: russellm | Owner: russellm
Status: assigned | Milestone: 1.3
Component: Testing framework | Version: 1.2
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
----------------------------------------+-----------------------------------
Changes (by russellm):
* status: new => assigned
* needs_better_patch: => 1
* needs_tests: => 0
* owner: nobody => russellm
* needs_docs: => 0
* has_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Here's a draft fix for the problem -- it introduces the concept of
TEST_DEPENDENCIES, so you can specify which databases must be synchronized
before others. By default, every database is assumed to be dependent on
'default' (except, of course, for default itself). This seems to be enough
to make Django's test suite run.
--
Ticket URL: <http://code.djangoproject.com/ticket/14799#comment:1>
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.