#13053: Support for non-static DB connection info
---------------------------------------------------+------------------------
Reporter: Lynge | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
Stage: Someday/Maybe | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by Lynge):
I will look into your suggestion on the settings dictionary object
replacement.
On the subject of useful context information:
I have found something called [http://github.com/svetlyak40wt/django-
globals/ django_globals]
It is very simple. It just uses threading.local() to store values, but if
it will work everywhere I have no idea.
I have been testing it on uWSGI with Cherokee in front and it seems to be
behaving as one would want, but I have no idea if it is a viable method
for any kind of setup. E.g. if it will share the values between requests
in certain kinds of setups.
--
Ticket URL: <http://code.djangoproject.com/ticket/13053#comment:2>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.