'how to run a django-upgrade command to whole django project?
I am using a library django-upgrade to convert the code from django 1.11 to django 3.24
the command is like
django-upgrade --target-version 3.2 example/core/models.py
I want to know that how can I run this command so that it runs on whole django project.
Solution 1:[1]
I am clear on the question but if you are asking how to upgrade Django then in your virtual environment run pip sudo pip install --upgrade django==3.2
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Rohan Abraham |
