Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DIARIO_MANAGER
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
DIARIO_MANAGER
Commits
5daa928c
Commit
5daa928c
authored
Jan 15, 2018
by
philippeoz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removendo STATICFILE_DIR
parent
9aed8116
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/settings/static.py
src/settings/static.py
+8
-8
No files found.
src/settings/static.py
View file @
5daa928c
...
@@ -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
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment