title: Getting "AttributeError: 'str' object has no attribute 'regex'" in Django urls.reverse
body: <p>As in the title, I'm getting</p>
  
  <blockquote>
    <p>AttributeError: 'str' object has no attribute 'regex'</p>
  </blockquote>
  
  <p>I've seen many valid answers to this, but none of them applied to my code as they identified issues in the urls.py file. My issue is in the views.py file.</p>
  
  <p>I get the exception when using reverse to generate a redirect URL:</p>
  
  <pre><code>HttpResponseRedirect(reverse('changetracker:detail', args))
  </code></pre>
  
  <p>When I use 'changetracker:detail' in other functions, I don't get the exception.</p>