mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Removed "Remove any old versions of Django" install instructions.
They are obsolete given the prevalence of pip.
This commit is contained in:
committed by
Tim Graham
parent
61596f40ad
commit
c4fa0143f7
@@ -89,19 +89,12 @@ Once you're ready, it is time to :doc:`install the new Django version
|
||||
</topics/install>`. If you are using virtualenv_ and it is a major upgrade, you
|
||||
might want to set up a new environment with all the dependencies first.
|
||||
|
||||
Exactly which steps you will need to take depends on your installation process.
|
||||
The most convenient way is to use pip_ with the ``--upgrade`` or ``-U`` flag:
|
||||
If you installed Django with pip_, you can use the ``--upgrade`` or ``-U`` flag:
|
||||
|
||||
.. console::
|
||||
|
||||
$ pip install -U Django
|
||||
|
||||
pip_ also automatically uninstalls the previous version of Django.
|
||||
|
||||
If you use some other installation process, you might have to manually
|
||||
:ref:`uninstall the old Django version <removing-old-versions-of-django>` and
|
||||
should look at the complete installation instructions.
|
||||
|
||||
.. _pip: https://pip.pypa.io/
|
||||
.. _virtualenv: https://virtualenv.pypa.io/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user