我是 django 新手我正在使用 gitpod 工作区并尝试使用 django-allauth 设置身份验证系统

问题描述

我正在尝试使用 django-allauth 设置身份验证系统并自定义 allauth 登录模板,我需要在我自己的模板/allauth 目录中制作它们的副本,我正在使用 gitpod。 这是我用来复制的命令

cp -r ../.pip.modules/lib/python3.8/site-packages/allauth/templates/* ./templates/allauth/

但我收到此错误消息

cp:无法统计'../.pip.modules/lib/python3.8/site-packages/allauth/templates/*':没有那个文件或目录

这是setting.py中安装的应用

INSTALLED_APPS =

 [
    'django.contrib.admin','django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.messages','django.contrib.staticfiles','django.contrib.sites','allauth','allauth.account','allauth.socialaccount',]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)