简体   繁体   English

"django.db.utils.ProgrammingError: relation "silk_request" does not exist LINE 1: INSERT INTO "silk_reque 是什么意思?

[英]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_dategit 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 ).猜猜如果这个名字对你没有任何意义,对你来说最简单的解决方案是将它从依赖项( Pipfilerequirements.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.

相关问题 django.db.utils.ProgrammingError:关系“-”不存在 - django.db.utils.ProgrammingError: relation “ - ” does not exist django.db.utils.ProgrammingError:关系“...”不存在 - django.db.utils.ProgrammingError: relation “…” does not exist Django 迁移数据库 django.db.utils.ProgrammingError:关系“django_site”不存在 - Django Migrating DB django.db.utils.ProgrammingError: relation "django_site" does not exist Django 测试失败,出现“django.db.utils.ProgrammingError:关系“django_content_type”不存在” - Django test fails with 'django.db.utils.ProgrammingError: relation "django_content_type" does not exist' django.db.utils.ProgrammingError:关系“ dashboard_menugroup”不存在 - django.db.utils.ProgrammingError: relation “dashboard_menugroup” does not exist 在 manage.py 测试期间“django.db.utils.ProgrammingError:关系“app_user”不存在” - "django.db.utils.ProgrammingError: relation "app_user" does not exist" during manage.py test 还有一个“django.db.utils.ProgrammingError:关系“device_gclouddevice”不存在” - One more "django.db.utils.ProgrammingError: relation "device_gclouddevice" does not exist" django.db.utils.ProgrammingError:关系“company_company”在运行 makemigrations 时不存在 - django.db.utils.ProgrammingError: relation “company_company” does not exist when running makemigrations django.db.utils.ProgrammingError:关系“core_country”不存在 - django.db.utils.ProgrammingError: relation "core_country" does not exist Django Rest框架“ django.db.utils.ProgrammingError:关系“患者”不存在” - Django Rest Framework “django.db.utils.ProgrammingError: relation ”patient“ does not exist”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM