I had a similar problem.
I just ssh
into heroku dyno with:
heroku run bash
( from your heroku application folder ofc )
Than run all the migration and makemigration commands with createsuperuser if needed.
Works with sqlite and postgre for me.
More Related Contents:
- Django: Deploying an application on Heroku with sqlite3 as the database
- H14 error in heroku – “no web processes running”
- OperationalError: database is locked
- How can I modify Procfile to run Gunicorn process in a non-standard folder on Heroku?
- multiple databases and multiple models in django
- No web processes running Django in heroku
- Django persistent database connection
- Can’t install psycopg2 with pip in virtualenv on Mac OS X 10.7
- How do you join two tables on a foreign key field using django ORM?
- Command not found: django-admin.py
- How to make/use a custom database function in Django
- gunicorn command not found, but it’s in my requirements.txt
- How to see the raw SQL queries Django is running?
- A QuerySet by aggregate field value
- How to move a model between two Django apps (Django 1.7)
- Heroku fails to install pywin32 library
- sqlite3.OperationalError: unable to open database file
- Race conditions in django
- What is your favorite solution for managing database migrations in django? [closed]
- Django staticfiles not found on Heroku (with whitenoise)
- Heroku: ModuleNotFoundError :No module named ‘requests’
- django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb
- Django: Increment blog entry view count by one. Is this efficient?
- No web processes running Error – Deploying Django on Heroku
- Deploying Django to Heroku (Psycopg2 Error)
- Django: sudden DB reset after Heroku sleep
- Collectstatic error while deploying Django app to Heroku
- How to fix error “ERROR: Command errored out with exit status 1: python.” when trying to install django-heroku using pip [duplicate]
- Updating context data in FormView form_valid method?
- How to change site title, site header and index title in Django Admin?