summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/widgets.py
diff options
context:
space:
mode:
authorMagnus Hagander2020-04-01 19:29:07 +0000
committerMagnus Hagander2020-04-01 19:33:29 +0000
commitf67aa10a515428b1e63bc4f24e1f85ee9fe2085b (patch)
treecc78fd4497590fc21db23383841af02749331ee1 /pgcommitfest/commitfest/widgets.py
parent29dce1f6045e26c2cd0af7d9d277405ac21ba821 (diff)
Updates for django 2.2
Diffstat (limited to 'pgcommitfest/commitfest/widgets.py')
-rw-r--r--pgcommitfest/commitfest/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/widgets.py b/pgcommitfest/commitfest/widgets.py
index fbce50d..4af8b2d 100644
--- a/pgcommitfest/commitfest/widgets.py
+++ b/pgcommitfest/commitfest/widgets.py
@@ -3,7 +3,7 @@ from django.utils.safestring import mark_safe
class ThreadPickWidget(TextInput):
- def render(self, name, value, attrs=None):
+ def render(self, name, value, attrs=None, renderer=None):
attrs['class'] += ' threadpick-input'
html = super(ThreadPickWidget, self).render(name, value, attrs)
html = html + '&nbsp;<button class="btn btn-default attachThreadButton" id="btn_%s">Find thread</button>' % name