thirdparty/google_appengine/lib/django/INSTALL
author Todd Larsen <tlarsen@google.com>
Fri, 26 Sep 2008 19:47:07 +0000
changeset 204 7075c27170f2
parent 109 620f9b141567
permissions -rw-r--r--
Add ModelWithFieldAttributes *before* PolyModel, so that everything does not become a "ModelWithFieldAttributes" in the Datastore. The way PolyModel works, each Model class hierarchy is stored in the Datastore as the class that directly inherited from PolyModel. So, we do not want to insert ModelWithFieldAttributes *after* PolyModel by inheriting *from* PolyModel, or everything would just be a ModelWithFieldAttributes in the Datastore, instead of Person, Work, Group, etc.

Thanks for downloading Django.

To install it, make sure you have Python 2.3 or greater installed. Then run
this command from the command prompt:

    python setup.py install

Note this requires a working Internet connection if you don't already have the
Python utility "setuptools" installed.

AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's
site-packages directory, which is located wherever your Python installation
lives. Some places you might check are:

    /usr/lib/python2.4/site-packages (Unix, Python 2.4)
    /usr/lib/python2.3/site-packages (Unix, Python 2.3)
    C:\\PYTHON\site-packages         (Windows)

This second solution does not require a working Internet connection; it
bypasses "setuptools" entirely.

For more detailed instructions, see docs/install.txt.