摘要: 首先,我们要安装alien这一软件: $sudo apt-get install alien ##alien默认没有安装,所以首先要安装它 $sudo alien xxxx.rpm ##将rpm转换为deb,完成后会生成一个xxxx.deb $sudo dpkg -i xxxx.deb ##这样xx 阅读全文
posted @ 2020-08-24 15:59 胸怀丶若谷 阅读(1844) 评论(0) 推荐(0)
摘要: django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attr 阅读全文
posted @ 2020-08-24 11:16 胸怀丶若谷 阅读(1060) 评论(0) 推荐(0)
摘要: 解决方案: 定义外键的时候需要加上 on_delete=;即:contract = models.ForeignKey(Contract, on_delete=models.CASCADE) 阅读全文
posted @ 2020-08-24 10:27 胸怀丶若谷 阅读(394) 评论(0) 推荐(0)