django.db.utils.ProgrammingError: relation “django_content_type” does not exist

django.db.utils.ProgrammingError: relation “django_content_type” does not exist

Problem

when making migrate this error appear.

django.db.utils.ProgrammingError: relation "django_content_type" does not exist

Reason

this problem usually occurs at first migrate because there is usage of content_types inside code before creating tables.

Solution

put your project urls inside try and except.

AHMED ELKHAYYAT
https://elkhayyat.me

I am a very keen individual that enjoys developing Python Programming Language. I have always loved computers and technology, ever since childhood. A team player who loves to work with other people on innovative projects and to take on challenges as an opportunity to grow as an individual in both a professional and personal capacity.

Leave a Reply

Select your currency
USD United States (US) dollar