
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.
Leave a Reply