mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
[3.0.x] Prevented (and corrected) single backtick usage in docs.
Backport of 1cdfe8d912
from master.
This commit is contained in:
parent
c9437596fe
commit
0342d47e7a
43 changed files with 101 additions and 86 deletions
|
@ -153,7 +153,7 @@ The first element in each tuple is the name to apply to the group. The
|
|||
second element is an iterable of 2-tuples, with each 2-tuple containing
|
||||
a value and a human-readable name for an option. Grouped options may be
|
||||
combined with ungrouped options within a single list (such as the
|
||||
`unknown` option in this example).
|
||||
``'unknown'`` option in this example).
|
||||
|
||||
For each model field that has :attr:`~Field.choices` set, Django will add a
|
||||
method to retrieve the human-readable name for the field's current value. See
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue