Skip to content

Commit 7101e5c

Browse files
authored
Merge pull request #37 from tomaszn/django_2.1
add missing renderer parameter
2 parents 5d9c131 + 1247920 commit 7101e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

martor/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class MartorWidget(forms.Textarea):
1515

16-
def render(self, name, value, attrs=None):
16+
def render(self, name, value, attrs=None, renderer=None, **kwargs):
1717
if attrs is None:
1818
attrs = {}
1919
elif 'class' in attrs:

0 commit comments

Comments
 (0)