mirror of
https://github.com/django/django.git
synced 2025-07-24 21:54:14 +00:00
Fixed docs typos in lines ending with a dash.
This commit is contained in:
parent
5d35181de4
commit
e261337eea
5 changed files with 11 additions and 11 deletions
|
@ -340,8 +340,8 @@ Application registry
|
|||
|
||||
Returns the :class:`~django.db.models.Model` with the given ``app_label``
|
||||
and ``model_name``. As a shortcut, this method also accepts a single
|
||||
argument in the form ``app_label.model_name``. ``model_name`` is case-
|
||||
insensitive.
|
||||
argument in the form ``app_label.model_name``. ``model_name`` is
|
||||
case-insensitive.
|
||||
|
||||
Raises :exc:`LookupError` if no such application or model exists. Raises
|
||||
:exc:`ValueError` when called with a single argument that doesn't contain
|
||||
|
|
|
@ -1035,8 +1035,8 @@ with the following notable differences:
|
|||
:class:`StreamingHttpResponse` should only be used in situations where it is
|
||||
absolutely required that the whole content isn't iterated before transferring
|
||||
the data to the client. Because the content can't be accessed, many
|
||||
middlewares can't function normally. For example the ``ETag`` and ``Content-
|
||||
Length`` headers can't be generated for streaming responses.
|
||||
middlewares can't function normally. For example the ``ETag`` and
|
||||
``Content-Length`` headers can't be generated for streaming responses.
|
||||
|
||||
Attributes
|
||||
----------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue