summaryrefslogtreecommitdiff
path: root/django/newforms/extras/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/newforms/extras/widgets.py')
-rw-r--r--django/newforms/extras/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/newforms/extras/widgets.py b/django/newforms/extras/widgets.py
index 724dcd9b50..96b1c7244d 100644
--- a/django/newforms/extras/widgets.py
+++ b/django/newforms/extras/widgets.py
@@ -53,7 +53,7 @@ class SelectDateWidget(Widget):
return u'\n'.join(output)
- def value_from_datadict(self, data, name):
+ def value_from_datadict(self, data, files, name):
y, m, d = data.get(self.year_field % name), data.get(self.month_field % name), data.get(self.day_field % name)
if y and m and d:
return '%s-%s-%s' % (y, m, d)