Skip to content

Commit

Permalink
djeff, please djeffify html in django
Browse files Browse the repository at this point in the history
  • Loading branch information
lightstrike committed Dec 16, 2015
1 parent 9ff698a commit 806a7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djeff/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DjeffMiddleware(object):
def process_response(self, request, response):
try:
if settings.DJEFF:
response.content = djeff(response.content)
response.content = djeff.djeffify_html(response.content.decode())
except AttributeError:
raise ImproperlyConfigured(
'DJEFF is not configured in django settings. Set "DJEFF = True" to enable djeffing'
Expand Down

0 comments on commit 806a7fe

Please sign in to comment.