Return to Snippet

Revision: 34192
at October 19, 2010 05:52 by magicrebirth


Initial Code
import os
import sys
PROJECT_ROOT = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(PROJECT_ROOT, "apps"))

Initial URL
http://codespatter.com/2009/04/10/how-to-add-locations-to-python-path-for-reusable-django-apps/

Initial Description


Initial Title
How to Add Locations to Python Path in Django

Initial Tags
path

Initial Language
Python