http://docs.djangoproject.com/en/dev/intro/tutorial03/問題解耦urls.py,而以下的django
的教程我在步驟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嗎? – zsong 2010-04-12 06:44:47