Django Template won't create tables

Creating a new Project using the existing Django Template gives you a Procfile with the following contents:
web: python manage.py migrate && gunicorn mysite.wsgi
web: python manage.py migrate && gunicorn mysite.wsgi
However it also sets up the Start Command to
gunicorn mysite.wsgi
gunicorn mysite.wsgi
In the end, only the Start Command is being used, which results in the migrations never being ran. If we however delete the Start Command contents, we will end up with the expected result. The migrations will be ran and we will be able to see the tables on the PostgreSQL service web UI Possible solution: The Django project template creation shouldn't set up the Start Command as it overrides the template's existing Procfile contents
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
angelo
angelo2y ago
Interesting, will raise this for my Todos later.
Want results from more Discord servers?
Add your server