diff -r 349898dd5478 docs/topics/forms/formsets.txt
a
|
b
|
|
145 | 145 | ``total_form_count`` and ``initial_form_count`` |
146 | 146 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
147 | 147 | |
148 | | ``BaseModelFormSet`` has a couple of methods that are closely related to the |
| 148 | ``BaseFormSet`` has a couple of methods that are closely related to the |
149 | 149 | ``ManagementForm``, ``total_form_count`` and ``initial_form_count``. |
150 | 150 | |
151 | 151 | ``total_form_count`` returns the total number of forms in this formset. |
diff -r 349898dd5478 docs/topics/forms/media.txt
a
|
b
|
|
176 | 176 | |
177 | 177 | If you need to perform some more sophisticated manipulation of media |
178 | 178 | requirements, you can define the media property directly. This is done |
179 | | by defining a model property that returns an instance of ``forms.Media``. |
| 179 | by defining a widget property that returns an instance of ``forms.Media``. |
180 | 180 | The constructor for ``forms.Media`` accepts ``css`` and ``js`` keyword |
181 | 181 | arguments in the same format as that used in a static media definition. |
182 | 182 | |