Will mange.py use a current running Django instance if available?
If I have Django running with a wsgi adapter, and I execute a
manage.py command, will it spawn a new instance of Django just to
execute the command, or will it use an existing running instance?
I need to make a decision on writing a command that will be hit pretty
frequently by a node.js application, and it'd be nice if I could hook
into Django easily without much overhead, or write a lightweight raw
Python script to do it.
Thanks. :)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home