Fixed #3840 -- Attempted to clarify how to specify the settings file
configuration for mod_python. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e824bcb1bd
commit
179b5b8422
|
@ -37,7 +37,8 @@ Then edit your ``httpd.conf`` file and add the following::
|
||||||
PythonDebug On
|
PythonDebug On
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
...and replace ``mysite.settings`` with the Python path to your settings file.
|
...and replace ``mysite.settings`` with the Python import path to your Django
|
||||||
|
project's settings file.
|
||||||
|
|
||||||
This tells Apache: "Use mod_python for any URL at or under '/mysite/', using the
|
This tells Apache: "Use mod_python for any URL at or under '/mysite/', using the
|
||||||
Django mod_python handler." It passes the value of ``DJANGO_SETTINGS_MODULE``
|
Django mod_python handler." It passes the value of ``DJANGO_SETTINGS_MODULE``
|
||||||
|
|
Loading…
Reference in New Issue