relation does not exist; LINE 1: SELECT COUNT(*) AS "__count" FROM

Published on 19 August 2022 11:00 AM
This post thumbnail

Django relation does not exist; LINE 1: SELECT COUNT(*) AS "__count" FROM

Django Error

relation "location_locationmodel" does not exist; LINE 1: SELECT COUNT(*) AS "__count" FROM "location_locationmodel"

Solution:

python manage.py migrate --run-syncdb

Resource:

https://stackoverflow.com/questions/41652951