#15955: WSGI howto has an error
---------------------+-------------------------------
 Reporter:  jblaine  |          Owner:  nobody
     Type:  Bug      |         Status:  new
Milestone:           |      Component:  Documentation
  Version:  1.3      |       Severity:  Normal
 Keywords:           |   Triage Stage:  Unreviewed
Has patch:  0        |  Easy pickings:  1
---------------------+-------------------------------
 http://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/

 The following instructions are not correct, from what I can tell.

 {{{
 import os
 import sys

 os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'

 import django.core.handlers.wsgi
 application = django.core.handlers.wsgi.WSGIHandler()
 }}}


 {{{
 path = '/path/to/mysite'
 if path not in sys.path:
     sys.path.append(path)

 }}}

 This last block contains the error.  In order to find 'mysite.settings',
 path should be set to '/path/to/parent/dir/of/site'.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15955>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to