Opened 14 years ago
Closed 14 years ago
#16564 closed Cleanup/optimization (duplicate)
'How to use Django with Apache and mod_wsgi' code snipped
Description ¶
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)
Note:
See TracTickets
for help on using tickets.
I think this is a subset of #15058.