#34180: Document that setting language in tests affects other tests
-------------------------------------+-------------------------------------
Reporter: Václav Řehák | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 4.1
Severity: Normal | Resolution:
Keywords: documentation i18n | Triage Stage: Accepted
tests |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Carlton Gibson):
#34181 was a duplicate which found source of this behaviour:
> Django's LocaleMiddleware only activates a translation, but doesn't
deactivate it since #5241 /
>
https://github.com/django/django/commit/aa089b106b6cfc9a47cd54a0f9eb44bd44811ed9.
Given that this was for Django 1.6, ≈9 years ago now, I think we can
consider it established behaviour.
(Again, I think a note in the docs is likely option 1.)
--
Ticket URL: <https://code.djangoproject.com/ticket/34180#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070184a9f7b7d1-6447ccce-6c55-4e2b-9c4e-01d700708616-000000%40eu-central-1.amazonses.com.