Skip to content

Commit

Permalink
Update sandbox settings to include compressor compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Vetter committed Jul 30, 2013
1 parent a01854b commit cbbd1a8
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions sandbox/sandbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
DEBUG = True
TEMPLATE_DEBUG = DEBUG

USE_LESS = True

ADMINS = (
# ('Your Name', 'your_email@example.com'),
('Your Name', 'your_email@example.com'),
)

MANAGERS = ADMINS
Expand Down Expand Up @@ -131,9 +129,14 @@

LOGIN_URL = '/admin/login/'

DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False
}
########## COMPRESSOR SETTINGS
COMPRESS_ENABLED = True
COMPRESS_OFFLINE = False

COMPRESS_PRECOMPILERS = (
('text/less', 'lessc {infile} {outfile}'),
)
########## END COMPRESSOR SETTINGS

# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
Expand Down Expand Up @@ -164,4 +167,10 @@
}
}

########## DEBUG TOOLBAR
INTERNAL_IPS = ('127.0.0.1',)

DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False
}
########## END DEBUG TOOLBAR

0 comments on commit cbbd1a8

Please sign in to comment.