I use Heroku to host a Django web app with a postgres back-end. I'm now looking to migrate this web app to Azure, taking advantage of a great deal Azure recently offered me.
But I'm confused about one thing: how can I create a Django website on Azure with postgresql as the database? I successfully created a Django website, connected it to git, but I can't seem to change it's DB to postgresql.
Hence, when I do git push azure master, I get the error: Command python setup.py egg_info failed with error code 1 in D:\home\site\wwwroot\env\build\psycopg2 It fails on psycopg2 (postgresql).
Secondly, once I do successfully install postgresql on an Azure Web App, I'd need to tweak its postgresql.conf file to tune the settings (defaults are too low). How would I do that?
The documentation only talks about how to install PG for an Azure VM with Linux, not an Azure Web App: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-postgresql/

