You don’t show where you are trying to reverse this URL, but it looks like you have double-quoted it. If you’re using the url
tag, note that you don’t need quotes around the url name:
{% url django.contrib.auth.views.login %}
not
{% url 'django.contrib.auth.views.login' %}