Skip to content

Commit

Permalink
place the assets dir in COMPRESS_OUTPUT_DIR
Browse files Browse the repository at this point in the history
fixes issue #37
  • Loading branch information
PhilipGarnero committed Jul 17, 2015
1 parent a48118f commit e162503
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django_pyscss/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
config.STATIC_URL = staticfiles_storage.url('scss/')

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

Expand Down

0 comments on commit e162503

Please sign in to comment.