Hi,
I don't initialize django.setup() at runtime but when modules are
loading. I have not observed any latency issues when
django.setup() is disabled.
See here for an example: https://bitbucket.org/tkadm30/django-hotsauce/src/1cee385a8b7ecaf94c0e4c3785174aee43d72de2/lib/notmm/controllers/wsgi.pyx?at=0.8-devel&fileviewer=file-view-default
Etienne
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0c3d11a9-b72a-4322-a97a-da33d60cefdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Etienne Robillard tka...@yandex.com http://www.isotopesoftware.ca/
Hi,
I don't initialize django.setup() at runtime but when modules are loading. I have not observed any latency issues when django.setup() is disabled.
Hi,
AFAIK django.setup() gets done implicit for web requests, you only need to call it for scripts.
What do you mean with "when django.setup() is disabled"?
But maybe in my code base something works different than in standard django. Up to now I thought we don't do special stuff there.