Deploy django postgresql in Heroku

Deploying Django to Heroku with PostgreSQL database is simple but we’ll miss some simple stuff and stuck. This article demystify those into simple steps. Initial Installation and setup Before changing any files we need to install require packages. Modules for development setup Decople and Psycopg2 pip install python-decouple pip3 install psycopg2 Decouple module helps us to handle the environment variables for the local development PostgreSQL database adaptor for python. Heroku modules...

January 5, 2021 · 5 min · arunkumar