On 3/27/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > however always I've got a "_wrapped_view" name. Is there a way to > find out, for example if my request.path is one/ to get app_one.idex > as a string?
'resolve' returns the actual callable function in all cases, so if you want the string name of the function you might want to access its '__name__' attribute. Are you using any decorators on these views? -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---