Skip to content

Commit aac4e95

Browse files
committed
django 2 fix, Widget.render() takes named renderer argument
1 parent 10cc722 commit aac4e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_sorting_field/widgets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Media:
1515
"sorting/js/sorting_widget.js",
1616
)
1717

18-
def render(self, name, value, attrs=None):
18+
def render(self, name, value, attrs=None, renderer=None):
1919
context = attrs
2020
context.update({
2121
"items": value,

0 commit comments

Comments
 (0)