diff options
| author | django-bot <ops@djangoproject.com> | 2023-02-28 20:53:28 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-01 13:03:56 +0100 |
| commit | 14459f80ee3a9e005989db37c26fd13bb6d2fab2 (patch) | |
| tree | eb62429ed696ed3a5389f3a676aecfc6d15a99cc /docs/ref/files | |
| parent | 6015bab80e28aef2669f6fac53423aa65f70cb08 (diff) | |
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/file.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt index 253e3d2903..f5c1b10917 100644 --- a/docs/ref/files/file.txt +++ b/docs/ref/files/file.txt @@ -139,14 +139,14 @@ below) will also have a couple of extra methods: .. code-block:: pycon - >>> car.photo.save('myphoto.jpg', content, save=False) + >>> car.photo.save("myphoto.jpg", content, save=False) >>> car.save() are equivalent to: .. code-block:: pycon - >>> car.photo.save('myphoto.jpg', content, save=True) + >>> car.photo.save("myphoto.jpg", content, save=True) Note that the ``content`` argument must be an instance of either :class:`File` or of a subclass of :class:`File`, such as |
