【发布时间】:2014-06-17 12:37:21
【问题描述】:
我有 urls.py 声明:
(r'^Account/PS/d=^[A-za-z0-9]{2,50}.[a-z]{1,3}$', SAA),
我点击的链接看起来像:
http://127.0.0.1:8000/Account/PS/d=mydomain.com
我有stopped eclipse's server、restarted eclipse,然后是started server。
然后我从上面单击该链接,但它会抛出 django“找不到页面”,显示正则表达式的 urls.py 声明与 url 不匹配。
我在这里做错了什么?
谢谢。
【问题讨论】:
标签: python regex django django-urls