Fix TEST_DEPENDENCIES documentation
|Reported by:||czambran@…||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The example of the documentation for controlling the creation for test databases seems flat out incorrect. From the example I assumed that by default 'diamonds' will not have any dependencies but after reading the code(https://github.com/django/django/blob/master/django/test/simple.py#L296), what actually happens is that Django makes all databases dependent on the default one which is how the guarantee that by default the default DB will be created first. If you run the code as specified in the example you should get the Exception ImproperlyConfigured because the diamonds DB will depend on default and the default DB will depend on the diamonds one.