﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11344	Update Documentation About Mod-wsgi/django installation	nartzpod	nobody	"In this page of the docs:
http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgi

When install mod-wsgi, it says:
--------------------------------------------------------------------

{{{
import os
import sys

os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
}}}

If your project is not on your PYTHONPATH by default you can add:

{{{
sys.path.append('/usr/local/django')
}}}


just above the import line to place your project on the path. Remember to replace 'mysite.settings' with your correct settings file.
--------------------------------------------------------------------

1. It says that the code sys.path.append('/usr/local/django') should be added above the import statement; this is ambiguous, because there are in fact 3 import statements - it should specify above the 'import django.core.handlers.wsgi' statement but below the other two import statements

2. It says to put sys.path.append('/usr/local/django') ; however, instead, it should say to put a link to where your python path is stored, i.e. sys.path.append('/path/to/django'), because not everyone symlinks their stuff into /usr/local/django; instead, it should suggest finding the python path and putting it in here; to find the python path, type python, then import django, then type django, and use that path.

Thanks!"		closed	Documentation	1.0		fixed			Accepted	0	0	0	0	0	0
