Loading docs/ref/forms/api.txt +2 −2 Original line number Diff line number Diff line Loading @@ -1022,7 +1022,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:: Loading @@ -1043,7 +1043,7 @@ classes:: <li>Haircut type: <input type="text" name="haircut_type" /></li> 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:: by setting the name of the field to ``None`` on the subclass. For example:: >>> from django import forms Loading Loading
docs/ref/forms/api.txt +2 −2 Original line number Diff line number Diff line Loading @@ -1022,7 +1022,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:: Loading @@ -1043,7 +1043,7 @@ classes:: <li>Haircut type: <input type="text" name="haircut_type" /></li> 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:: by setting the name of the field to ``None`` on the subclass. For example:: >>> from django import forms Loading