Django NoReverseMatch

后端 未结 1 1789
悲哀的现实
悲哀的现实 2020-12-01 12:09

I\'m making a simple login app in django 1.6 (and python 2.7) and I get an error at the beggining that is not letting me continue.

This is the site\'s url.py

相关标签:
1条回答
  • 2020-12-01 12:29

    The problem is in the way you include the auth URLs in the main one. Because you use both ^ and $, only the empty string matches. Drop the $.

    0 讨论(0)
提交回复
热议问题