【发布时间】:2011-06-26 05:54:00
【问题描述】:
我不断收到 django 登录系统的此错误。这是我的 urls.py 的一部分:
(r'^contractManagement/login', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
我得到的确切错误:
Exception Type: NoReverseMatch
Exception Value: Reverse for ''django.contrib.auth.views.login'' with arguments '()' and keyword arguments '{}' not found.
我不明白为什么会出现此错误。如果您还需要什么,请告诉我。
【问题讨论】:
-
你的反向声明在哪里?
标签: django django-authentication