Skip to content

Instantly share code, notes, and snippets.

@dannyroa
Created October 22, 2012 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannyroa/3935318 to your computer and use it in GitHub Desktop.
Save dannyroa/3935318 to your computer and use it in GitHub Desktop.
project directory
import os
PROJECT_DIR = os.path.dirname(__file__)
...
STATIC_DOC_ROOT = os.path.join(PROJECT_DIR, "static")
...
TEMPLATE_DIRS = (
os.path.join(PROJECT_DIR, "templates"),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment