title: NoReverseMatch while rendering: Reverse for ''django.contrib.auth.views.login''
body: <p>I'm using Django's authentication, and in the login.html template, the following statement is generating an error:</p>
  
  <pre><code>{% url 'django.contrib.auth.views.login' %}
  </code></pre>
  
  <blockquote>
    <p>TemplateSyntaxError at /login</p>
    
    <p>Caught NoReverseMatch while rendering: Reverse for ''django.contrib.auth.views.login'' with arguments '()' and keyword arguments '{}' not found.</p>
  </blockquote>
  
  <p>This url is defined in my urls.py:</p>
  
  <pre><code>(r'^login$', 'django.contrib.auth.views.login')
  </code></pre>
  
  <p>I have installed the auth system:</p>
  
  <pre><code>INSTALLED_APPS = (
      'django.contrib.auth',
  ...
  )
  </code></pre>
  
  <p>Any ideas?</p>