I have previously been able to use DATABASE_URL in my Django app to run my database migrations. This still appears to work for my existing apps, however when I add a new app it’s not working. As best I can tell DATABASE_URL is not being set in my environment. This means that migrations obviously fail, since they can’t find the right database.
I am loading the environment variables directly from Django / Python, in case that matters. I saw this issue but it didn’t seem related.