Hi, I am new to the Django community and I would like to implement a patch for the ticket #8809 - "Better error message when can't import url callback".
http://code.djangoproject.com/ticket/8809 This ticket basically requires the error message, when a callback function in urlpatterns is not found, to display the exact urls.py file and the line where the error occurred instead of just displaying the module name. I was looking into the _get_callback function of the RegexUrlPattern class. I can write a function that scans the apps directory for the exact file and line no but I need some more background information on the following: 1. Where are RegexUrlPattern objects created and what is the additional information available at this stage? 2. A basic higher level understanding of how the 'urlpatterns' objects are processed from a urls.py file Thanks, Vivek -- You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en.
