1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Added missing backticks to class-based views docs.

This commit is contained in:
Adam Zapletal 2024-11-26 14:10:39 -06:00 committed by GitHub
parent 857b1048d5
commit 2e190a48d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -278,7 +278,7 @@ The above example assumes that if the client supports ``text/html``, that they
would prefer it. However, this may not always be true. When requesting a
``.css`` file, many browsers will send the header
``Accept: text/css,*/*;q=0.1``, indicating that they would prefer CSS, but
anything else is fine. This means ``request.accepts("text/html") will be
anything else is fine. This means ``request.accepts("text/html")`` will be
``True``.
To determine the correct format, taking into consideration the client's