Skip to content

Instantly share code, notes, and snippets.

@rdkls
Last active December 16, 2015 15:49
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 rdkls/5458911 to your computer and use it in GitHub Desktop.
Save rdkls/5458911 to your computer and use it in GitHub Desktop.
django settings.py code to include apps dir
import os
import sys
PROJECT_ROOT = os.path.dirname(__file__)
sys.path.append(os.path.join(PROJECT_ROOT, "apps")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment