1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed "Remove any old versions of Django" install instructions.

They are obsolete given the prevalence of pip.
This commit is contained in:
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
2018-02-26 19:28:56 +05:30
committed by Tim Graham
parent 61596f40ad
commit c4fa0143f7
3 changed files with 1 additions and 37 deletions

View File

@@ -122,28 +122,6 @@ database queries, Django will need permission to create a test database.
.. _cx_Oracle: https://oracle.github.io/python-cx_Oracle/
.. _Oracle: https://www.oracle.com/
.. _removing-old-versions-of-django:
Remove any old versions of Django
=================================
If you are upgrading your installation of Django from a previous version,
you will need to uninstall the old Django version before installing the
new version.
If you installed Django using pip_ or ``easy_install`` previously, installing
with pip_ or ``easy_install`` again will automatically take care of the old
version, so you don't need to do it yourself.
If you previously installed Django using ``python setup.py install``,
uninstalling is as simple as deleting the ``django`` directory from your Python
``site-packages``. To find the directory you need to remove, you can run the
following at your shell prompt (not the interactive Python prompt):
.. console::
$ python -c "import django; print(django.__path__)"
.. _install-django-code:
Install the Django code