#16564: 'How to use Django with Apache and mod_wsgi' code snipped
----------------------------------+-------------------------------
Reporter: anonymous | Owner: nobody
Type: Cleanup/optimization | Status: new
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
----------------------------------+-------------------------------
this is the original:
{{{
path = '/path/to/mysite'
if path not in sys.path:
sys.path.append(path)
}}}
'/path/to/mysite' is maybe a little miss leading. maybe more accurate
would be:
{{{
path = '/path/to' # only '/path/to' part of
'/path/to/mysite/settings.py'
if path not in sys.path:
sys.path.append(path)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/16564>
Django <https://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.