Skip to content

Commit bcdfa0e

Browse files
arusenitimgraham
authored andcommitted
[1.6.x] Fixed a typo in 1.6 release notes.
Backport of 006451f from master
1 parent df47f0c commit bcdfa0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/releases/1.6.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ create a ``ModelForm`` that uses all fields for a model.
11831183
For this reason, if you use these views for editing models, you must also supply
11841184
the ``fields`` attribute (new in Django 1.6), which is a list of model fields
11851185
and works in the same way as the :class:`~django.forms.ModelForm`
1186-
``Meta.fields`` attribute. Alternatively, you can set set the ``form_class``
1186+
``Meta.fields`` attribute. Alternatively, you can set the ``form_class``
11871187
attribute to a ``ModelForm`` that explicitly defines the fields to be used.
11881188
Defining an ``UpdateView`` or ``CreateView`` subclass to be used with a model
11891189
but without an explicit list of fields is deprecated.

0 commit comments

Comments
 (0)