How can I see the current urlpatterns that \"reverse\" is looking in?
I\'m calling reverse in a view with an argument that I think should work, but doesn\'t. Any wa
Try this:
from django.urls import get_resolver get_resolver().reverse_dict.keys()
Or if you're still on Django 1.*:
from django.core.urlresolvers import get_resolver get_resolver(None).reverse_dict.keys()