summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Maliński <riklaunim@gmail.com>2015-07-07 18:37:35 (GMT)
committerPiotr Maliński <riklaunim@gmail.com>2015-07-07 18:37:35 (GMT)
commitcc46c6b1d3f9189cd8c4d094dba1da66efcec782 (patch)
tree7e2c31bc62aa4135b4f6a03092389e18ad6d5f6b
parent372f2aeba2311a934b7fe660b93e20cb456de066 (diff)
downloaddjango-ckeditor-cc46c6b1d3f9189cd8c4d094dba1da66efcec782.zip
django-ckeditor-cc46c6b1d3f9189cd8c4d094dba1da66efcec782.tar.gz
django-ckeditor-cc46c6b1d3f9189cd8c4d094dba1da66efcec782.tar.bz2
Use correct default value for argument.
-rw-r--r--ckeditor/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ckeditor/widgets.py b/ckeditor/widgets.py
index 60f4699..0d84ac2 100644
--- a/ckeditor/widgets.py
+++ b/ckeditor/widgets.py
@@ -103,7 +103,7 @@ class CKEditorWidget(forms.Textarea):
self.external_plugin_resources = external_plugin_resources or []
- def render(self, name, value, attrs={}):
+ def render(self, name, value, attrs=None):
if value is None:
value = ''
final_attrs = self.build_attrs(attrs, name=name)