【问题标题】:Django-registration - no module named simple errorDjango-registration - 没有名为简单错误的模块
【发布时间】:2012-12-13 08:16:36
【问题描述】:

我发现如果你使用 1.5 版的 Django,django-registration 模块会中断,因为在 django 的最新开发版中,simple.py 类已被删除。

【问题讨论】:

标签: django django-registration


【解决方案1】:

现在已修复:

hg clone https://bitbucket.org/ubernostrum/django-registration

cd django-registration
setup.py install 

pip install /path/to/local/clone/django-registration

如果你没有 hg,你可以从这个链接下载项目:

django-registration snapshot

【讨论】:

  • 对我来说似乎使用 pip install -r requirements.txt 并在 .txt:hg+https://bitbucket.org/ubernostrum/django-registration/downloads/django-registration-0.8.tar.gz 中添加一行比将其克隆到当前文件夹要好得多。这样它将克隆到虚拟环境或 / 如果您不使用 virtualenv 工具。
  • 请解释为什么它不适合您?我添加了一个手动下载链接。
猜你喜欢
  • 2012-08-12
  • 1970-01-01
  • 1970-01-01
  • 2014-03-02
  • 1970-01-01
  • 2011-08-19
  • 2016-03-20
  • 2012-01-27
  • 1970-01-01
相关资源
最近更新 更多