mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Removed unnecessary code-block directives.
This commit is contained in:
parent
fa02120d36
commit
9d6551204e
32 changed files with 161 additions and 308 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue