#24815: Custom settings for database alias
--------------------------------+--------------------------------------
Reporter: MikeVelazcoMtz | Owner: nobody
Type: New feature | Status: closed
Component: Uncategorized | Version: 1.8
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by carljm):
* status: new => closed
* resolution: => invalid
Comment:
Thanks for the suggestion. I don't believe this feature is possible,
though, because settings are process-global, whereas you can easily have
multiple threads of execution each talking to different databases at
different times.
In general, changing the value of settings at runtime is not safe or
supported.
--
Ticket URL: <https://code.djangoproject.com/ticket/24815#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 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/072.27ec6cd98b58207fc88b847b03915059%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.