Skip to content

Commit

Permalink
Remove incorrect deletion behavior from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneier authored and mlazowik committed Mar 9, 2022
1 parent 3080a0b commit d2cc283
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/backends/gcloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,3 @@ Push the objects into the cache to make sure they pickle properly::
>>> cache.set('obj2', obj2)
>>> cache.get('obj2').pdf
<FieldFile: tests/django_test_.txt>

Deleting an object deletes the file it uses, if there are no other objects still using that file::

>>> obj2.delete()
>>> obj2.pdf.save('django_test.txt', ContentFile('more content'))
>>> obj2.pdf
<FieldFile: tests/django_test_.txt>

0 comments on commit d2cc283

Please sign in to comment.