我不断收到django登录系统的这个错误。这里是我的urls.py的一部分:NoReverseMatch错误
(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.
我不明白为什么我收到此错误。如果你需要其他东西,请告诉我。
哪里是你的反向说法? – MattoTodd 2011-02-12 22:48:22