title: Django url debugger
body: <p>I'm developing a django application and over time, the URLs have grown. I have a lot of them with me now and due to some change I made, one view started to malfunction. When I try to GET <a href="http://example.com/foo/edit_profile" rel="noreferrer">http://example.com/foo/edit_profile</a>, it's supposed to execute a view certain view function <code>X</code> but it's executing <code>Y</code> instead. Somewhere the url routing is messing up and I can't figure it out. I used the <code>django.core.urlresolvers.resolve</code> method to try it from the shell and I can confirm that the URL is getting wrongly resolved. However, I don't know how to debug this and pinpoint the problem. </p>
  
  <p>Ideally, I'd like to see something like "tested this pattern", "tested this pattern" etc. till it finally finds the correct one and I can then look around where it resolved. I can't find anything like this. </p>
  
  <p>Isn't this a common problem for larger projects? What do people do?</p>
  
  <p><strong><em>Update</em></strong></p>
  
  <p>I know how the system works and how to look through the URLs one by one. That's what I'm trying to do. This question is basically asking for a shortcut. </p>