Just playing around with some ideas, I've been trying to figure out how to auto-generate some menus based on my url.py config layout.

1) what's the preferred way to get the "base" (rather than include()'ed) urls.py I see a core.urlresolvers.get_urlconf but that seems an internal piece of machinery with hacks based on an internal cache against something thread-local.

2) is there a way to affix a url-name to a url() that merely does an include() or is that a bad idea? (it would more likely be special treatment of an include()'s with a regexp of r'^/' which I suppose I could look for instead)

Thanks,

-tkc



--
You received this message because you are subscribed to the Google Groups "Django 
users" 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-users?hl=en.

Reply via email to