0
0
mirror of https://github.com/django/django.git synced 2024-11-21 19:09:18 +01:00

Added appropriate backticks for markup

Backticks added to pass commit testing
This commit is contained in:
jburns6789 2024-11-20 18:18:44 -05:00 committed by GitHub
parent 31e8f37b1e
commit 1aed7b4a32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -555,10 +555,10 @@ a subclass of dictionary. Exceptions are outlined here:
.. method:: QueryDict.__getitem__(key)
Returns the last data value for the given key. If the key has more than one
value, it returns the last value. If the value is an empty list, [] is
returned. Raises django.utils.datastructures.MultiValueDictKeyError if
value, it returns the last value. If the value is an empty list, ``[]`` is
returned. Raises ``django.utils.datastructures.MultiValueDictKeyError`` if
the key does not exist. (This is a subclass of Python's standard
:exc:KeyError, so you can stick to catching KeyError.)
:exc:`KeyError`, so you can stick to catching ``KeyError``.)
.. method:: QueryDict.__setitem__(key, value)