diff options
| author | areski <areski@gmail.com> | 2014-08-18 16:30:44 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-19 16:44:25 -0400 |
| commit | 9d6551204eff9d1ab70b67578f99630716df7490 (patch) | |
| tree | f8a8722912985f6b0876d58909880df172a77703 /docs/ref/forms | |
| parent | fa02120d360387bebbbe735e86686bb4c7c43db2 (diff) | |
Removed unnecessary code-block directives.
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index fe5920eee3..a2245a5ffa 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -198,7 +198,7 @@ foundation for custom widgets. A dictionary containing HTML attributes to be set on the rendered widget. - .. code-block:: python + .. code-block:: pycon >>> from django import forms >>> name = forms.TextInput(attrs={'size': 10, 'title': 'Your name',}) @@ -772,9 +772,7 @@ Composite widgets An optional dict of months to use in the "months" select box. The keys of the dict correspond to the month number (1-indexed) and - the values are the displayed months. - - .. code-block:: python + the values are the displayed months:: MONTHS = { 1:_('jan'), 2:_('feb'), 3:_('mar'), 4:_('apr'), |
