mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Preferred usage of among/while to amongst/whilst.
This commit is contained in:
parent
25352dc019
commit
dbdc192ca3
13 changed files with 23 additions and 24 deletions
|
@ -495,7 +495,7 @@ is ``'Beatles Blog'``::
|
|||
|
||||
This spanning can be as deep as you'd like.
|
||||
|
||||
It works backwards, too. Whilst it :attr:`can be customized
|
||||
It works backwards, too. While it :attr:`can be customized
|
||||
<.ForeignKey.related_query_name>`, by default you refer to a "reverse"
|
||||
relationship in a lookup using the lowercase name of the model.
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ location (:setting:`MEDIA_ROOT` if you are using the default
|
|||
|
||||
.. note::
|
||||
|
||||
Whilst :class:`~django.db.models.ImageField` non-image data attributes,
|
||||
such as ``height``, ``width``, and ``size`` are available on the instance,
|
||||
the underlying image data cannot be used without reopening the image. For
|
||||
While :class:`~django.db.models.ImageField` non-image data attributes, such
|
||||
as ``height``, ``width``, and ``size`` are available on the instance, the
|
||||
underlying image data cannot be used without reopening the image. For
|
||||
example::
|
||||
|
||||
>>> from PIL import Image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue