Created
February 23, 2012 02:44
-
-
Save gileno/1889392 to your computer and use it in GitHub Desktop.
Definindo STATICDIRS no settings
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 | |
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__)) | |
STATICFILES_DIRS = ( | |
# Put strings here, like "/home/html/static" or "C:/www/django/static". | |
# Always use forward slashes, even on Windows. | |
# Don't forget to use absolute paths, not relative paths. | |
os.path.join(PROJECT_ROOT, 'static'), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment