title: How can I add an anchor to a URL when it has no anchors?
body: <p>When loading a page, I would like the user to be sent directly to a part of it, called <code>#town-center</code>.</p>
  
  <p>I've written the following code :</p>
  
  <pre><code>url(r'^(?i)(?P&lt;town_slug&gt;[-\w]+)/', RedirectView.as_view(permanent=False, url='#town-center')), # adds the "town-center" anchor to reposition the browser when displaying the town
  url(r'^(?i)(?P&lt;town_slug&gt;[-\w]+)/#$', views.town_map, name='town_map'),
  </code></pre>
  
  <p>This works in adding #town-center to the current URL, but it fails because the first pattern always gets picked up, and it loops.</p>
  
  <p>The exact error I'm getting from Firefox is : "The page isn't redirecting properly".</p>
  
  <p>How can I make this work ?</p>