from django.core.urlresolvers import resolve view_func, args, kwargs = resolve('/your/url/here/') print '%s.%s' % (view_func.__module__, view_func.__name__)
Erik On 12.10.2008, at 21:38, shabda wrote: > > One of my views is returning a Http404, and I think it is calling a > view function diffrent from what I am expecting to be called. > > So How can I check which view is being called in response to a > specific Url? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---