diff options
| author | Julien Phalip <jphalip@gmail.com> | 2012-02-05 08:09:26 +0000 |
|---|---|---|
| committer | Julien Phalip <jphalip@gmail.com> | 2012-02-05 08:09:26 +0000 |
| commit | 1cd18f4cfdaf5f4a4002e9c59e1146e5fa0d70d3 (patch) | |
| tree | ddc60d2795d827087d4f6b753df536d6a4872e14 /django/forms/extras | |
| parent | ad8ebb7006be7d93f1c6a29770dbca2752488a62 (diff) | |
Fixed #17493 -- Made `Widget.id_for_label()` consistently be an instance method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/forms/extras')
| -rw-r--r-- | django/forms/extras/widgets.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/django/forms/extras/widgets.py b/django/forms/extras/widgets.py index 65d6bf15f5..0a2223bc3f 100644 --- a/django/forms/extras/widgets.py +++ b/django/forms/extras/widgets.py @@ -101,7 +101,6 @@ class SelectDateWidget(Widget): return '%s_%s' % (id_, first_select) else: return '%s_month' % id_ - id_for_label = classmethod(id_for_label) def value_from_datadict(self, data, files, name): y = data.get(self.year_field % name) |
