From f3bc3a54d8b05811abbb07c5540a7b7569fa5365 Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Tue, 23 Apr 2013 17:51:59 -0700 Subject: [PATCH] specified where to find static files --- mmg/settings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mmg/settings.py b/mmg/settings.py index 159f285..ae2afc6 100644 --- a/mmg/settings.py +++ b/mmg/settings.py @@ -1,4 +1,5 @@ # Django settings for mmg project. +import os DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -64,10 +65,7 @@ STATIC_URL = '/static/' # Additional locations of static files 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. - '/Users/smcquay/src/mmg/static' + os.path.expanduser('~/src/mmg/static'), ) # List of finder classes that know how to find static files in