Turning off debug in production

This commit is contained in:
Samuel Clay 2010-01-04 22:41:03 +00:00
parent 8891a859fe
commit 923b7cd462

View file

@ -68,7 +68,7 @@ if PRODUCTION:
# Absolute path to the directory that holds media. # Absolute path to the directory that holds media.
# Example: "/Users/media/media.lawrence.com/" # Example: "/Users/media/media.lawrence.com/"
MEDIA_URL = 'http://www.newsblur.com/media/' MEDIA_URL = 'http://www.newsblur.com/media/'
DEBUG = True DEBUG = False
CACHE_BACKEND = 'file:///var/tmp/django_cache' CACHE_BACKEND = 'file:///var/tmp/django_cache'
logging.basicConfig(level=logging.INFO, logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(levelname)s %(message)s', format='%(asctime)s %(levelname)s %(message)s',
@ -179,7 +179,7 @@ COMPRESS_JS = {
'js/newsblur/assetmodel.js', 'js/newsblur/assetmodel.js',
'js/newsblur/reader.js', 'js/newsblur/reader.js',
'js/newsblur/reader_classifier.js' 'js/newsblur/reader_classifier.js',
), ),
'output_filename': 'release/all-compressed-?.js' 'output_filename': 'release/all-compressed-?.js'
} }