diff options
| author | Leila20 <leila@levit.be> | 2016-11-06 11:55:33 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-06 11:55:33 +0100 |
| commit | 656654fb5b82fa8d18016399c7676f310bafcd1c (patch) | |
| tree | 66f35b0ad0fce2636daadaa72a71af00079fce56 | |
| parent | f46a838efc9482c9c7834a83a152b57a56888fff (diff) | |
Fixed typo in django/forms/widgets.py comment.
| -rw-r--r-- | django/forms/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 427ea469e2..7c7e2c90fe 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -795,7 +795,7 @@ class RendererMixin(object): def id_for_label(self, id_): # Widgets using this RendererMixin are made of a collection of # subwidgets, each with their own <label>, and distinct ID. - # The IDs are made distinct by y "_X" suffix, where X is the zero-based + # The IDs are made distinct by a "_X" suffix, where X is the zero-based # index of the choice field. Thus, the label for the main widget should # reference the first subwidget, hence the "_0" suffix. if id_: |
