【发布时间】:2011-02-06 21:28:18
【问题描述】:
http://docs.djangoproject.com/en/dev/intro/tutorial03/
我在步骤Decoupling the URLconfs 中,教程说明了如何解耦urls.py。在完全按照它说的做时,我收到以下错误-
error at /polls/1/
nothing to repeat
Request Method: GET
Request URL: http://localhost:8000/polls/1/
Exception Type: error
Exception Value:
nothing to repeat
Exception Location: C:\jython2.5.1\Lib\re.py in _compile, line 241
Python Executable: C:\jython2.5.1\jython.bat
Python Version: 2.5.1
Python Path: ['E:\\Programming\\Project\\django_app\\mysite', 'C:\\jython2.5.1\\Lib\\site-packages\\setuptools-0.6c11-py2.5.egg', 'C:\\jython2.5.1\\Lib', '__classpath__', '__pyclasspath__/', 'C:\\jython2.5.1\\Lib\\site-packages']
Server time: Mon, 12 Apr 2010 12:02:56 +0530
【问题讨论】:
-
你能把urls.py贴在这里吗?
标签: django url jython django-urls