[Answered ]-How to update packages after upgrading Django?

2👍

There are no hard and fast rules except to create a new virtualenv and try it out. You can install the latest versions of everything in your old virtualenv in the new one as as follows

source old/activate
pip freeze --local | grep -v '^\-e' | cut -d = -f 1  > requirements.txt
deactivate
source new/activate
pip install -r requirements.txt
👤e4c5

Leave a comment