From c0f03175ceeb132b88d6ff81d28d397e5a303989 Mon Sep 17 00:00:00 2001 From: James Bennett Date: Thu, 20 Jun 2013 01:51:20 -0500 Subject: Fixed #19695 -- Retitle "Form Media" to "Form Assets". --- docs/ref/forms/widgets.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 341574ad37..5b66776cfc 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -171,16 +171,15 @@ You can also set the HTML ``id`` using :attr:`~Widget.attrs`. See Styling widget classes ^^^^^^^^^^^^^^^^^^^^^^ -With widgets, it is possible to add media (``css`` and ``javascript``) +With widgets, it is possible to add assets (``css`` and ``javascript``) and more deeply customize their appearance and behavior. In a nutshell, you will need to subclass the widget and either -:ref:`define a class "Media" ` as a member of the -subclass, or :ref:`create a property "media" `, returning an -instance of that class. +:ref:`define a "Media" inner class ` or +:ref:`create a "media" property `. These methods involve somewhat advanced Python programming and are described in -detail in the :doc:`Form Media ` topic guide. +detail in the :doc:`Form Assets ` topic guide. .. _base-widget-classes: -- cgit v1.3