Changeset 8840


Ignore:
Timestamp:
10/12/13 10:43:40 (6 years ago)
Author:
mnagni
Message:

Parametrizes the wsgi in order to remove the python's system site-package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/dj_security/trunk/resources/wsgi.py

    r8660 r8840  
    4141application = django.core.handlers.wsgi.WSGIHandler() 
    4242 
     43''' 
     44Removed the system site-packages from the python path as is not  
     45possible configure apache virtualenv at the virtualhost level  
     46'''   
     47for item in list(sys.path): 
     48    if item.startswith('SYSTEM_SITE_PACKAGE'): 
     49        sys.path.remove(item) 
     50        continue 
     51 
Note: See TracChangeset for help on using the changeset viewer.