[英]What does "django.db.utils.ProgrammingError: relation "silk_request" does not exist LINE 1: INSERT INTO "silk_reque mean?
So, here is what I have done.所以,这就是我所做的。 I have cloned this repo https://github.com/hitul007/complianceok followed by git stash
then git checkout due_date
and git pull origin due_date
我克隆了这个 repo https://github.com/hitul007/complianceok ,然后是git stash
然后git checkout due_date
和git pull origin due_date
when i tried to run the server, it throws an error which i couldnt understand.当我尝试运行服务器时,它抛出一个我无法理解的错误。 Not only that, I could not even locate the file where this actual problem is?不仅如此,我什至找不到这个实际问题所在的文件?
What is this silk thing?这是什么丝绸?
Can someone please explain what is the actual issue and how do I solve it?有人可以解释一下实际问题是什么以及我该如何解决? I am using python 3.8 and django 3.1.2 enter image description here我正在使用 python 3.8 和 django 3.1.2在此处输入图像描述
Thank you very much非常感谢你
The link that you have provided doesn't work (404 error).您提供的链接无效(404 错误)。
This "silk" error probably generated by django-silk
package.这个“丝绸”错误可能是由django-silk
package 产生的。 Guess that if this name doesn't anything to you, the easiest solution for you would be removing it from dependencies ( Pipfile
or requirements.txt
).猜猜如果这个名字对你没有任何意义,对你来说最简单的解决方案是将它从依赖项( Pipfile
或requirements.txt
)中删除。
PS django-silk
package is a profiling tool for django. PS django-silk
package 是 django 的分析工具。
Run the migrations for django-silk:运行 django-silk 的迁移:
/manage.py makemigrations silk
Migrations for 'silk':
venv_3_9_10/lib/python3.9/site-packages/silk/migrations/0001_initial.py
- Create model Request
- Create model SQLQuery
- Create model Response
- Create model Profile
./manage.py migrate silk
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.