diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index 974a5ca251f..1458db41a2d 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -145,7 +145,7 @@ in this form as well. ``total_form_count`` and ``initial_form_count`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -``BaseModelFormSet`` has a couple of methods that are closely related to the +``BaseFormSet`` has a couple of methods that are closely related to the ``ManagementForm``, ``total_form_count`` and ``initial_form_count``. ``total_form_count`` returns the total number of forms in this formset. diff --git a/docs/topics/forms/media.txt b/docs/topics/forms/media.txt index 287d4c69310..663b0d31137 100644 --- a/docs/topics/forms/media.txt +++ b/docs/topics/forms/media.txt @@ -176,7 +176,7 @@ Media as a dynamic property If you need to perform some more sophisticated manipulation of media requirements, you can define the media property directly. This is done -by defining a model property that returns an instance of ``forms.Media``. +by defining a widget property that returns an instance of ``forms.Media``. The constructor for ``forms.Media`` accepts ``css`` and ``js`` keyword arguments in the same format as that used in a static media definition.