Commit 5daa928c authored by philippeoz's avatar philippeoz

Removendo STATICFILE_DIR

parent 9aed8116
...@@ -13,7 +13,7 @@ STATIC_URL = config('STATIC_URL', default='/static/') ...@@ -13,7 +13,7 @@ STATIC_URL = config('STATIC_URL', default='/static/')
# Directories to save media and compiled static files # Directories to save media and compiled static files
# STATIC_ROOT = 'staticfiles' # STATIC_ROOT = 'staticfiles'
# MEDIA_ROOT = os.path.join(BASE_DIR, 'media') # MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
STATIC_ROOT = BASE_DIR.child('frontend', 'staticfiles') # STATIC_ROOT = BASE_DIR.child('frontend', 'staticfiles')
MEDIA_ROOT = BASE_DIR.child('media') MEDIA_ROOT = BASE_DIR.child('media')
...@@ -22,7 +22,7 @@ MEDIA_ROOT = BASE_DIR.child('media') ...@@ -22,7 +22,7 @@ MEDIA_ROOT = BASE_DIR.child('media')
# os.path.join(BASE_DIR, 'static'), # os.path.join(BASE_DIR, 'static'),
# ) # )
STATICFILES_DIRS = [ STATICFILES_DIRS = [
BASE_DIR.child('frontend', 'static'), # BASE_DIR.child('frontend', 'static'),
# BASE_DIR.child('frontend', 'bower_components'), # BASE_DIR.child('frontend', 'bower_components'),
] ]
...@@ -48,13 +48,13 @@ STATICFILES_FINDERS = [ ...@@ -48,13 +48,13 @@ STATICFILES_FINDERS = [
# ('text/x-scss', 'sassc {infile} {outfile}'), # ('text/x-scss', 'sassc {infile} {outfile}'),
# ] # ]
COMPRESS_CSS_FILTERS = [ # COMPRESS_CSS_FILTERS = [
'compressor.filters.cssmin.rCSSMinFilter', # 'compressor.filters.cssmin.rCSSMinFilter',
] # ]
COMPRESS_JS_FILTERS = [ # COMPRESS_JS_FILTERS = [
'compressor.filters.jsmin.JSMinFilter', # 'compressor.filters.jsmin.JSMinFilter',
] # ]
# Template finders and processors # Template finders and processors
TEMPLATES = [ TEMPLATES = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment