Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
bbdbcfbd
Commit
bbdbcfbd
authored
Feb 16, 2016
by
Okhin
Browse files
Let's collect staticfiles
parent
14ae37f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnmon/settings.py
View file @
bbdbcfbd
...
...
@@ -67,7 +67,7 @@ else:
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT
=
'
'
STATIC_ROOT
=
BASE_PATH
+
'/static_collected/
'
# URL prefix for static files.
# Example: "http:/media.lawrence.com/static/"
...
...
@@ -83,6 +83,7 @@ STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
BASE_PATH
+
'/static/'
,
)
# List of finder classes that know how to find static files in
...
...
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