Django : How can I see a list of urlpatterns?
How can I see the current urlpatterns that “reverse” is looking in? I’m calling reverse in a view with an argument that I … Read more
How can I see the current urlpatterns that “reverse” is looking in? I’m calling reverse in a view with an argument that I … Read more
I have a Django URL like this: url( r’^project_config/(?P<product>\w+)/(?P<project_id>\w+)/$’, ‘tool.views.ProjectConfig’, name=”project_config” ), views.py: def ProjectConfig(request, product, project_id=None, template_name=”project.html”): … # do stuff The … Read more
Before Django 1.0 there was an easy way to get the admin url of an object, and I had written a small filter … Read more