Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fixed RemovedInDjango21Warning

Scott Peshak4b47e1024cc9
diff --git a/wger/utils/widgets.py b/wger/utils/widgets.py
index 3bbff75c2..e562dc3ae 100644
--- a/wger/utils/widgets.py
+++ b/wger/utils/widgets.py
@@ -103,7 +103,7 @@ class ExerciseAjaxSelect(SelectMultiple):
This is basically a modified MultipleSelect widget
'''
- def render(self, name, value, attrs=None, choices=()):
+ def render(self, name, value, attrs=None, choices=(), renderer=None):
if value is None:
value = []