Skip to content

Commit a54a07d

Browse files
committed
Fixed context updating.
1 parent c3fab9b commit a54a07d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compressor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def output(self):
154154
def output_inline(self):
155155
context = {'content': settings.COMPRESS and self.combined or self.concat()}
156156
if hasattr(self, 'extra_context'):
157-
context.extend(self.extra_context)
157+
context.update(self.extra_context)
158158
return render_to_string(self.template_name_inline, context)
159159

160160
class CssCompressor(Compressor):

0 commit comments

Comments
 (0)