Skip to content

Commit e162503

Browse files
committed
place the assets dir in COMPRESS_OUTPUT_DIR
fixes issue #37
1 parent a48118f commit e162503

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django_pyscss/compiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
config.STATIC_URL = staticfiles_storage.url('scss/')
2323

2424
# This is where PyScss places the sprite files.
25-
config.ASSETS_ROOT = os.path.join(settings.STATIC_ROOT, 'scss', 'assets')
25+
config.ASSETS_ROOT = os.path.join(settings.STATIC_ROOT,
26+
settings.COMPRESS_OUTPUT_DIR, 'assets')
2627
# PyScss expects a trailing slash.
2728
config.ASSETS_URL = staticfiles_storage.url('scss/assets/')
2829

0 commit comments

Comments
 (0)