summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2021-07-02 12:16:26 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2021-07-02 12:16:26 (GMT)
commit3635a9524dfbd8252e56dec7f03d005113d6b454 (patch)
treee85a3bae8c599014a349d163dd984dbde5948a21
parentad46ff8cbb5d0b6d5bf9d418bfec3d9c0d5b3129 (diff)
downloadwelco-3635a9524dfbd8252e56dec7f03d005113d6b454.zip
welco-3635a9524dfbd8252e56dec7f03d005113d6b454.tar.gz
welco-3635a9524dfbd8252e56dec7f03d005113d6b454.tar.bz2
misc: monkeypatch django-ckeditor support for django 2.2 (#55347)v0.81
-rw-r--r--welco/monkeypatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/welco/monkeypatch.py b/welco/monkeypatch.py
index 63116a0..d31465c 100644
--- a/welco/monkeypatch.py
+++ b/welco/monkeypatch.py
@@ -25,7 +25,7 @@ from django.utils.translation import get_language
import ckeditor.widgets
-def ckeditor_render(self, name, value, attrs=None):
+def ckeditor_render(self, name, value, attrs=None, renderer=None):
if value is None:
value = ''
final_attrs = {'name': name}