#27571: Conditionally add TEST_DATABASE_PREFIX to db name
-------------------------------------+-------------------------------------
     Reporter:  Alex Alvarez         |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
  TEST_DATABASE_PREFIX               |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 Isn't this backwards-incompatible? Any project that prefixes its database
 with `test_` will now have it clobbered by the test database. If you want
 a specific test database name, then you should use
 `DATABASES['TEST']['NAME']`
 ([https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-
 TEST_NAME docs]).

--
Ticket URL: <https://code.djangoproject.com/ticket/27571#comment:1>
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/075.bb7eadc0f24bd65033c831ce7e4408f6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to