From 9e3dbc757301a663717029fdd66e351d72e93079 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 10 Jan 2010 17:45:55 +0000 Subject: [PATCH] Fixed #10989 -- Fixed typos in formset and widget-media docs. Thanks, falken@mixworx.net and ramiro git-svn-id: http://code.djangoproject.com/svn/django/trunk@12168 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/forms/formsets.txt | 2 +- docs/topics/forms/media.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index 974a5ca251..1458db41a2 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 287d4c6931..663b0d3113 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.