Wednesday, February 16, 2011

reimport module every n seconds in main process

Hello,

in a Django application I compile certain data into a Python module
for efficiency reasons. Each time an admin changes or adds objects,
this module also changes. Therefore, I want my main process (the one
that is started with "manage.py runserver" or the like) to reimport
the data module every n (e.g. 10) seconds.

How could this be done?

Santiago

--
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


Real Estate