mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
[1.8.x] Fixed #25268 -- Tweaked wording in docs/ref/forms/api.txt
Backport of 5b5a27942b2fa113df4d6eb3d77a33c85f58634f from master
This commit is contained in:
parent
99b5649a07
commit
d2dfe3ae81
@ -1007,7 +1007,7 @@ fields are ordered first::
|
||||
<li>Cc myself: <input type="checkbox" name="cc_myself" /></li>
|
||||
<li>Priority: <input type="text" name="priority" /></li>
|
||||
|
||||
It's possible to subclass multiple forms, treating forms as "mix-ins." In this
|
||||
It's possible to subclass multiple forms, treating forms as mixins. In this
|
||||
example, ``BeatleForm`` subclasses both ``PersonForm`` and ``InstrumentForm``
|
||||
(in that order), and its field list includes the fields from the parent
|
||||
classes::
|
||||
@ -1029,8 +1029,8 @@ classes::
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
* It's possible to declaratively remove a ``Field`` inherited from a parent
|
||||
class by setting the name to be ``None`` on the subclass. For example::
|
||||
It's possible to declaratively remove a ``Field`` inherited from a parent class
|
||||
by setting the name of the field to ``None`` on the subclass. For example::
|
||||
|
||||
>>> from django import forms
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user