diff --git a/pydash/settings.py b/pydash/settings.py index 497387c..df8ca70 100644 --- a/pydash/settings.py +++ b/pydash/settings.py @@ -21,7 +21,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SECRET_KEY = '1)$crmowu-23tz@i2-d=7tb3t+1u&(pm!lnjyuarki^72h!3af' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False TEMPLATE_DEBUG = True @@ -90,13 +90,12 @@ TEMPLATE_LOADERS = ( # 'django.template.loaders.eggs.Loader', ) -TEMPLATE_DIRS = os.path.join(BASE_DIR, 'templates') +TEMPLATE_DIRS = (os.path.join(BASE_DIR, 'templates'),) # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.6/howto/static-files/ -STATIC_ROOT = os.path.join(BASE_DIR, 'static') - +STATIC_ROOT = os.path.join(os.path.dirname(__file__), '..', 'static') STATIC_URL = '/static/' STATICFILES_DIRS = ( @@ -105,7 +104,7 @@ STATICFILES_DIRS = ( STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', - # 'django.contrib.staticfiles.finders.DefaultStorageFinder', + #'django.contrib.staticfiles.finders.DefaultStorageFinder', ) LOGGING = {