Oops. Didn't see you reply. Thanks, I'll take a look at the command extension.
BTW, the second link you provided is my own snippet :) I want to improve it with auto documentation extracted from the actual view functions. On Jun 16, 11:40 am, Alexis Roda <alexis.roda.villalo...@gmail.com> wrote: > En/na Dmitry Beransky ha escrit: > > > Hi, > > > Is there a way to enumerate view functions that are currently > > associated with a url patern? In the end, I'd like to get a list of > > triples: pattern name, pattern, callback function. > > If you want to get a dump of the (regex, view, name) triples on the > screen take a look at django-command-extensions[1], command 'show_urls'. > > If you want to get the list from your app in order to do some processing > on it [2] provides a simple example on how to "introspect" the URLs. > > [1]http://code.google.com/p/django-command-extensions/ > [2]http://djangosnippets.org/snippets/2059/ > > HTH -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.