Clarify where to append sys.path.append in mod_wsgi docs
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Just a quick suggestion with regards to the mod_wsgi deployment, article: http://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/
Please make the explanation of where to insert the line "sys.path.append('/usr/local/django')" into django.wsgi a bit clearer, as well as the actual path to use, as I was using the path to my project (/home/user/project) rather than what was required (/home/user).
Furthermore, I also suggest adding a suggestion to modify settings.py's specification with regards to admin media to:
"ADMIN_MEDIA_PREFIX = '/admin-media/'", and consequently adding an Alias to httpd.conf to serve admin media, such as:
"Alias /admin-media/ /usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/contrib/admin/media/"
Change History (2)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Summary:||appending $PYTHONPATH → Clarify where to append sys.path.append in mod_wsgi docs|
|Triage Stage:||Unreviewed → Accepted|