#19869: Make changing the active language inside `LiveTestServerCase` possible
-----------------------------------+------------------------------------
Reporter: void | Owner: gchp
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by void):
The initial goal of this ticket was to deal with issue that emerged while
working on the #18767.
That is, translation.override was not able to change thread-local state of
`LiveServerThread`, and it rendered everything in one language.
#18767 ticket is fixed now and thread-local issue resolved by introducing
settings_changed signal and its receivers, in particular to the
`trans_real._active = threading.local()` line in `django.test.signals`.
Therefore, I think it's safe to close this ticket as wontfix.
--
Ticket URL: <https://code.djangoproject.com/ticket/19869#comment:17>
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/062.a88d9131ca4468496fcb5c87cfff86a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.