如何完全删除 django-registration?

发布于 2024-10-05 00:42:33 字数 102 浏览 0 评论 0原文

我错误地安装了旧版本的 django-registration,将其修复到新版本似乎相当复杂。那么,由于我刚刚重新启动一个项目,如何才能完全卸载模块 django-registration?

I have installed and old version by mistake of django-registration and it seems quite complicated to fix it to the new one. So since i am just starting a project anew, how can I uninstall completely the module django-registration?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

红玫瑰 2024-10-12 00:42:33

删除文件夹 /usr/local/pythonX.Y/site-packages/django-registration,其中 XY 是您的 python 版本,您可以通过运行 python 找到它--版本

Remove the folder /usr/local/pythonX.Y/site-packages/django-registration where X.Y is your python version, which you can find by running python --version

烈酒灼喉 2024-10-12 00:42:33

如果安装了 pip,那么只需执行以下命令即可。

pip uninstall django-registration

您还可以通过转到根目录或虚拟环境级别的 /lib 目录来确认。

例如

/lib/python2.7/site-packages/

如果您看不到名为 registration 的目录,则表示 django-registration 已被删除。

If pip is installed then simply fire following command, that's it.

pip uninstall django-registration

Also you can confirm it by going to /lib directory at root or at virtual environment level.

e.g.

/lib/python2.7/site-packages/

If you cant see directory named registration means django-registration has been removed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文