Hello,
I am new to Django (and web development in general), and this is my first time deploying a Django web app and commenting in the channel. I'm hitting some significant roadblocks (I've made a big mess) that I have been unable to resolve with my google searches or reading of the documentation. If anything, I have dug myself a deeper hole and would be most grateful for any suggestions or guidance anyone would be willing to offer.
Project:
a GeoDjango app deployed to Heroku, using PostgreSQL database, with a Postgis extension (the project uses GEOS, GDAL and PROJ4 libraries) as well as the leaflet.js library.
Issue:
my project is deployed on Heroku, and I'm starting with a fresh database for production. None of my tables have been migrated to PostgreSQL db on Heroku, and I am trying to migrate the tables. My local DB has now been cleared. I do have the following in my Procfile, so I thought the migrations would happen automatically.
web: gunicorn --pythonpath peaks peaks.wsgi ```
When my app updates to Heroku, the build initially succeeds and then fails with this message:
File "/app/.heroku/python/lib/python3.11/site-packages/django/db/migrations/loader.py", line 194, in check_key
raise ValueError(
ValueError: Dependency on app with no migrations: beaks"