3rd Party App Directories

1
2
3
4
5
6
7
8
9
APP_DIRS = (
    # Put strings here like '/home/html/project/apps'
    # Pretty much just like TEMPLATE_DIRS.
)

import sys

for app_dir in APP_DIRS:
    sys.path.insert(0, app_dir)

Comments

pgugged (on June 30, 2008):

Hey

really useful little snippet!

I just don't like the setup.py thingie :)

#

(Forgotten your password?)

You may use Markdown syntax here, but raw HTML will be removed.