Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/files.txt
View
4 docs/topics/files.txt
@@ -39,7 +39,7 @@ the details of the attached photo::
>>> car.photo
<ImageFieldFile: chevy.jpg>
>>> car.photo.name
- u'chevy.jpg'
+ u'cars/chevy.jpg'
>>> car.photo.path
u'/media/cars/chevy.jpg'
>>> car.photo.url
@@ -143,4 +143,4 @@ For example, the following code will store uploaded files under
photo = models.ImageField(storage=fs)
:ref:`Custom storage systems <howto-custom-file-storage>` work the same way: you
-can pass them in as the ``storage`` argument to a ``FileField``.
+can pass them in as the ``storage`` argument to a ``FileField``.

0 comments on commit 6ebbf7a

Please sign in to comment.
Something went wrong with that request. Please try again.