Created
September 18, 2013 14:49
-
-
Save hcliff/6610268 to your computer and use it in GitHub Desktop.
Example settings
This file contains hidden or 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
PROJECT_ROOT = '' # path to project goes here | |
# Uncompiled static | |
# Absolute filesystem path to the directory that will hold site static assets | |
STATIC_ROOT = os.path.join(PROJECT_ROOT, 's/s') | |
# Staticfiles app settings, files to copy to static location | |
STATICFILES_DIRS = () | |
STATIC_URL = '/s/s/' | |
# User-uploaded files. | |
# Example: "/home/media/media.lawrence.com/" | |
MEDIA_ROOT = (PROJECT_ROOT / 's/m').abspath() | |
MEDIA_URL = '/s/m/' | |
# Compiled assets | |
# Note: all project assets handled via mediagenerator, not static | |
GLOBAL_MEDIA_DIRS = (os.path.join(PROJECT_ROOT, 'static'), ) | |
DEV_MEDIA_URL = PRODUCTION_MEDIA_URL = '/s/g/' | |
GENERATED_MEDIA_DIR = os.path.join(PROJECT_ROOT, 's/g') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment