#28116: Filtering PostgreSQL exception based on message is too brittle
-------------------------------------+-------------------------------------
Reporter: Claude | Owner: nobody
Paroz |
Type: Bug | Status: new
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In commit 64264c9a19b7dae6cd1d5e112177cdbcafafc93c, the behavior of
`_execute_create_test_db` depends on the databae error message `''database
%s already exists'`.
On my system for example, the error message is localized so I'm finally
getting a message `Got an error creating the test database: la base de
données « test_testgis1 » existe déjà` even when I provide `--keepdb`.
--
Ticket URL: <https://code.djangoproject.com/ticket/28116>
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/050.6e3499587cb7e6bba481edcc62a93ec7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.