Re: dynamically refresh the urlconf?

2007-01-11 Thread James Bennett

On 1/11/07, Justin <[EMAIL PROTECTED]> wrote:
> I'm digging through Django trying to figure out how I can manually tell
> it to run through the settings.ROOT_URLCONF again, or how I can load a
> fresh list into memory for resolving.

Generally when you need to reload a Python module, the standard
'reload' function handles it for you. However, in the case of updating
a web app's code, it's generally better to restart  -- if nothing
else, it guarantees that all your server processes pick up the new
code simultaneously.

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



dynamically refresh the urlconf?

2007-01-11 Thread Justin

I'm digging through Django trying to figure out how I can manually tell
it to run through the settings.ROOT_URLCONF again, or how I can load a
fresh list into memory for resolving.

I'd like to reload the list w/out having to restart my instance of
Django.

Apologies if this has been asked before, couldn't seem to find a
discussion about it.

thanks,
Justin


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---