Django

Code

Changeset 4999

Show
Ignore:
Timestamp:
04/12/07 08:59:09 (1 year ago)
Author:
russellm
Message:

Fixed #3830 -- Added installation note on removing old versions of Django (especially eggs) before installing a new version.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/install.txt

    r4812 r4999  
    7171.. _pysqlite: http://initd.org/tracker/pysqlite 
    7272 
     73Remove any old versions of Django 
     74================================= 
     75 
     76If you are upgrading your installation of Django from a previous version,  
     77you will need to uninstall the old Django version before installing the  
     78new version.  
     79 
     80If you installed Django using ``setup.py install``, uninstalling 
     81is as simple as deleting the ``django`` directory from your Python  
     82``site-packages``. 
     83 
     84If you installed Django from a Python Egg, remove the Django ``.egg` file, 
     85and remove the reference to the egg in the file named ``easy-install.pth``.  
     86This file should also be located in your ``site-packages`` directory. 
     87 
     88.. admonition:: Where are my ``site-packages`` stored? 
     89 
     90    The location of the ``site-packages`` directory depends on the operating 
     91    system, and the location in which Python was installed. However, the 
     92    following locations are common: 
     93     
     94    * If you're using Linux: ``/usr/lib/python2.X/site-packages`` 
     95 
     96    * If you're using Windows: ``C:\Python2.X\lib\site-packages`` 
     97 
     98    * If you're using MacOSX: ``/Library/Python2.X/site-packages`` 
     99 
    73100Install the Django code 
    74101=======================