Browse files

Update python 2.4 to 2.7

  • Loading branch information...
1 parent 18636ed commit 3dfa18e697c2c59518e1811322db02f175739580 @mpdaugherty mpdaugherty committed Oct 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 chapter03.rst
4 chapter03.rst
@@ -178,12 +178,12 @@ be handled by the ``hello`` view function.
looks when you use the Python ``import`` statement.
For example, let's say your Python path is set to ``['',
- '/usr/lib/python2.4/site-packages', '/home/username/djcode']``. If you
+ '/usr/lib/python2.7/site-packages', '/home/username/djcode']``. If you
execute the Python statement ``from foo import bar``, Python will look for
a module called ```` in the current directory. (The first entry in the
Python path, an empty string, means "the current directory.") If that file
doesn't exist, Python will look for the file
- ``/usr/lib/python2.4/site-packages/``. If that file doesn't exist, it
+ ``/usr/lib/python2.7/site-packages/``. If that file doesn't exist, it
will try ``/home/username/djcode/``. Finally, if *that* file doesn't
exist, it will raise ``ImportError``.

0 comments on commit 3dfa18e

Please sign in to comment.