Skip to content
Permalink
Browse files

Add STATIC_ROOT

  • Loading branch information...
kz26 committed Jan 2, 2018
1 parent 111add4 commit 9cdf0d80f0b687c1e98f270686b6341743e5e414
Showing with 3 additions and 2 deletions.
  1. +1 −1 nginx/uchicagohvz.conf
  2. +2 −1 uchicagohvz/local_settings.py
@@ -21,7 +21,7 @@ server {
}

location /static {
alias $appdir/uchicagohvz/static;
alias $appdir/uchicagohvz/static_root;
}

location /media {
@@ -103,6 +103,7 @@
STATICFILES_DIRS = (

This comment has been minimized.

Copy link
@lexmann

lexmann Apr 26, 2018

STATICFILES_DIRS

os.path.join(BASE_DIR, "static"),
)
STATIC_ROOT = os.path.join(BASE_DIR, 'static_root')

# Django Compressor
STATICFILES_FINDERS = (
@@ -115,7 +116,7 @@
('text/coffeescript', 'coffee -bcs'),
('text/less', 'lessc {infile} {outfile}'),
)
COMPRESS_ROOT = os.path.join(BASE_DIR, 'static')
COMPRESS_ROOT = STATIC_ROOT

# Datetime settings
DATETIME_FORMAT = 'N j, Y g:i A'

0 comments on commit 9cdf0d8

Please sign in to comment.
You can’t perform that action at this time.