A real example of URL Namespace
Typically, they are used to put each application’s URLs into their own namespace. This prevents the reverse() Django function and the {% url %} template function from returning the wrong URL because the URL-pattern name happened to match in another app. What I have in my project-level urls.py file is the following: from django.conf.urls.defaults import … Read more