diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-07-13 11:43:14 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-07-13 16:20:09 +0200 |
| commit | db33b25e8617185acbadb4ff04eaa4c37ae67dd6 (patch) | |
| tree | 1451e3cf6197ada7a09f58f9a64183ba638ded41 /django/forms/models.py | |
| parent | 7f210563ab90d4d3957e7e1efc5b102777357e8b (diff) | |
[1.6.x] Fixed #20582 -- Allowed default Form.label_suffix to be translated
Thanks Tim Graham for the review.
Backport of 7557207983 from master.
Diffstat (limited to 'django/forms/models.py')
| -rw-r--r-- | django/forms/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py index 821f64199b..c18680247d 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -292,7 +292,7 @@ class ModelFormMetaclass(type): class BaseModelForm(BaseForm): def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, - initial=None, error_class=ErrorList, label_suffix=':', + initial=None, error_class=ErrorList, label_suffix=None, empty_permitted=False, instance=None): opts = self._meta if opts.model is None: |
