Ever found yourself trying to find the view corresponding to a url in the browser by wading though a bunch of urls.py?
This gist is one of those “why didn’t I do this sooner?” time savers. It’s a management command which given a pasted url reports back the view it resolves to, along with any kwargs/args.
It handles the fact that the actual view you want is often buried in a nest of decorators, and works with both functional and class-based views.















