Category: Django
-
Deploy Django in Heroku
Deploy Python Django app in heroku cloud PostgreSQL needed since heroku don’t support sqlite3 install pgsql supports(not really required to install in your local but add in requirement.txt) pip install dj-database-url gunicorn whitenoise psycopg2 pip freeze > requirements.txt Somehow psycopg2 not installing in my local but I added psycopg2 in requirements.txt