【发布时间】:2013-04-03 07:58:17
【问题描述】:
我正在尝试使用本教程在我的项目上安装 django-registration: http://www.michelepasin.org/blog/2011/01/14/setting-up-django-registration/ 但我收到此错误:
ImportError at /
No module named simple
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.5
Exception Type: ImportError
Exception Value:
No module named simple
Exception Location: C:\Python27\lib\site-packages\registration\backends\default\urls.py in <module>, line 22
Python Executable: C:\Python27\python.exe
Python Version: 2.7.3
Python Path:
['C:\\Users\\Fabrizio\\Desktop\\django\\test\\gym',
'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg',
'C:\\Python27\\lib\\site-packages\\pip-1.2.1-py2.7.egg',
'C:\\Windows\\system32\\python27.zip',
'C:\\Python27\\DLLs',
'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\lib-tk',
'C:\\Python27',
'C:\\Python27\\lib\\site-packages']
Server time: Wed, 3 Apr 2013 09:39:44 +0200
我在这里找到了一些答案,但我无法完全理解解决方案,您能解释一下如何解决吗?谢谢。
【问题讨论】:
-
能把urls.py的内容贴出来吗?
-
@Siva url(r'^accounts/', include('registration.urls')),
标签: django django-registration