awsdocs / aws-elastic-beanstalk-developer-guide

The open source version of the AWS Elastic Beanstalk Developer Guide. You can submit feedback and requests for changes by submitting issues in this repo or by making proposed changes and submitting a pull request.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/Welcome.html
Other
199 stars 194 forks source link

Update migration example in create-deploy-python-django.md #117

Closed technimakri closed 3 years ago

technimakri commented 3 years ago

Update the container command example to activate a venv and migrate changes to the database on deployment. Previous command was based on Amazon Linux 1, this command works better on Linux 2.

See this Stackoverflow question for additional info and discussion: https://stackoverflow.com/questions/62457165/deploying-django-to-elastic-beanstalk-migrations-failed

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

mrenneke-amazon commented 3 years ago

Hello @technimakri -- Thank you for catching this! Merging now.