[Python 3.8 Django 3.2] Cannot connect to postgres database

Issue got solved on its own, I redeployed the app and its running.