mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Turning off debug in production
This commit is contained in:
parent
8891a859fe
commit
923b7cd462
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue