Django

Code

Changeset 172

Show
Ignore:
Timestamp:
07/18/05 08:57:25 (3 years ago)
Author:
adrian
Message:

Fixed #57 -- Added some more helpful mod_python information to tutorial 2 -- thanks, Manuzhai!

Files:

Legend:

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

    r144 r172  
    6868        PythonHandler django.core.handler 
    6969        SetEnv DJANGO_SETTINGS_MODULE myproject.settings.admin 
     70        PythonDebug On 
    7071    </Location> 
    7172 
     
    7576the ``admin`` settings, not the ``main`` settings. That's because this is the 
    7677admin site, which has slightly different settings. 
     78 
     79Also, if you've manually altered your ``PYTHONPATH`` to put your project on it, 
     80you'll need to tell mod_python:: 
     81 
     82    PythonPath "['/path/to/project'] + sys.path" 
    7783 
    7884You can also add directives such as ``PythonAutoReload Off`` for performance.