diff --git a/docs/topics/files.txt b/docs/topics/files.txt index 662110111a..dabee7dacb 100644 --- a/docs/topics/files.txt +++ b/docs/topics/files.txt @@ -39,7 +39,7 @@ the details of the attached photo:: >>> car.photo >>> 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 ` work the same way: you -can pass them in as the ``storage`` argument to a ``FileField``. \ No newline at end of file +can pass them in as the ``storage`` argument to a ``FileField``.