#14384: Installation documentation should avoid sys.path.append
-------------------------------------------+--------------------------------
 Reporter:  monokrome                      |       Owner:  nobody    
   Status:  new                            |   Milestone:            
Component:  Documentation                  |     Version:  1.2       
 Keywords:  documentation apache mod_wsgi  |       Stage:  Unreviewed
Has_patch:  0                              |  
-------------------------------------------+--------------------------------
 Using Apache's mod_wsgi implementation (and I'm sure some others), there
 are cases where sys.path.append will add redundant items to the system
 path. The mod_wsgi documentation requests that, instead, developers use
 the following in order to avoid these redundancies:

 {{{
 import sys
 path = '/usr/local/wsgi/modules'
 if path not in sys.path:
     sys.path.append(path)
 }}}

 More information is available here:
 
[http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIReloadMechanism
 WSGIReloadMechanism]

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14384>
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