Last active
December 16, 2015 15:49
-
-
Save rdkls/5458911 to your computer and use it in GitHub Desktop.
django settings.py code to include apps dir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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