Django

Code

Changeset 2783

Show
Ignore:
Timestamp:
04/28/06 20:55:59 (2 years ago)
Author:
adrian
Message:

magic-removal: Proofread docs/modpython.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/docs/modpython.txt

    r2726 r2783  
    3232        SetHandler python-program 
    3333        PythonHandler django.core.handlers.modpython 
    34         SetEnv DJANGO_SETTINGS_MODULE myproject.settings 
     34        SetEnv DJANGO_SETTINGS_MODULE mysite.settings 
    3535        PythonDebug On 
    3636    </Location> 
    3737 
    38 ...and replace ``myproject.settings`` with the Python path to your settings file. 
     38...and replace ``mysite.settings`` with the Python path to your settings file. 
    3939 
    4040This tells Apache: "Use mod_python for any URL at or under '/mysite/', using the 
     
    7272        ServerName www.example.com 
    7373        # ... 
    74         SetEnv DJANGO_SETTINGS_MODULE myproject.settings 
     74        SetEnv DJANGO_SETTINGS_MODULE mysite.settings 
    7575    </VirtualHost> 
    7676 
     
    7878        ServerName www2.example.com 
    7979        # ... 
    80         SetEnv DJANGO_SETTINGS_MODULE myproject.other_settings 
     80        SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings 
    8181    </VirtualHost> 
    8282 
     
    9090        # ... 
    9191        <Location "/something"> 
    92             SetEnv DJANGO_SETTINGS_MODULE myproject.settings 
    93             PythonInterpreter myproject 
     92            SetEnv DJANGO_SETTINGS_MODULE mysite.settings 
     93            PythonInterpreter mysite 
    9494        </Location> 
    9595 
    9696        <Location "/otherthing"> 
    97             SetEnv DJANGO_SETTINGS_MODULE myproject.other_settings 
    98             PythonInterpreter myproject_other 
     97            SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings 
     98            PythonInterpreter mysite_other 
    9999        </Location> 
    100100    </VirtualHost> 
     
    154154        SetHandler python-program 
    155155        PythonHandler django.core.handlers.modpython 
    156         SetEnv DJANGO_SETTINGS_MODULE myproject.settings 
     156        SetEnv DJANGO_SETTINGS_MODULE mysite.settings 
    157157    </Location> 
    158158