[Django]-What does "django.db.utils.ProgrammingError: relation "silk_request" does not exist LINE 1: INSERT INTO "silk_reque mean?

1👍

The link that you have provided doesn’t work (404 error).

This "silk" error probably generated by 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).

P.S. django-silk package is a profiling tool for django.

1👍

Run the migrations for 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

1👍

I got the same error,I solve it by python manage.py migrate

Leave a comment