title: "Reverse for ... not found" - but there is?
body: <p>Ok, I've been banging my head against this for 30+ minutes, so here I am on stack overflow.</p>
  
  <p>I've got in a template:  </p>
  
  <pre><code>{% if user.is_authenticated %}
  &lt;a href="{% url 'admin' %}"&gt;                                
     Admin
  &lt;/a&gt;  
  {% endif %}  
  </code></pre>
  
  <p>And in urls.py: </p>
  
  <pre><code>urlpatterns = [
    path('admin', admin.site.urls, name = 'admin'),  
    path('', views.index, name ='index'), 
  ]
  </code></pre>
  
  <p>Yet I still get:
  NoReverseMatch at /</p>
  
  <p>Reverse for 'admin' not found. 'admin' is not a valid view function or pattern name.</p>
  
  <p>Why is that? I even tested it out, and replaced admin with index, and it redirects me to views.index.  I tried replacing the name of the pattern with everything else and tried matching it with the url path as well (like it is now). No luck! Did I just break django?</p>