Author: adrian Date: 2010-01-10 11:45:55 -0600 (Sun, 10 Jan 2010) New Revision: 12168
Modified: django/trunk/docs/topics/forms/formsets.txt django/trunk/docs/topics/forms/media.txt Log: Fixed #10989 -- Fixed typos in formset and widget-media docs. Thanks, fal...@mixworx.net and ramiro Modified: django/trunk/docs/topics/forms/formsets.txt =================================================================== --- django/trunk/docs/topics/forms/formsets.txt 2010-01-10 17:42:23 UTC (rev 12167) +++ django/trunk/docs/topics/forms/formsets.txt 2010-01-10 17:45:55 UTC (rev 12168) @@ -145,7 +145,7 @@ ``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. Modified: django/trunk/docs/topics/forms/media.txt =================================================================== --- django/trunk/docs/topics/forms/media.txt 2010-01-10 17:42:23 UTC (rev 12167) +++ django/trunk/docs/topics/forms/media.txt 2010-01-10 17:45:55 UTC (rev 12168) @@ -176,7 +176,7 @@ 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.
-- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.