Kaydet (Commit) 9103a9bd authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #10779 -- Corrected description of an example in the files docs. Thanks to…

Fixed #10779 -- Corrected description of an example in the files docs. Thanks to timo for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 565c1906
......@@ -25,7 +25,7 @@ When you use a :class:`~django.db.models.FileField` or
:class:`~django.db.models.ImageField`, Django provides a set of APIs you can use
to deal with that file.
Consider the following model, using a ``FileField`` to store a photo::
Consider the following model, using an ``ImageField`` to store a photo::
class Car(models.Model):
name = models.CharField(max_length=255)
......@@ -111,7 +111,7 @@ useful -- you can use the global default storage system::
>>> default_storage.exists(path)
False
See :ref:`ref-files-storage` for the file storage API.
See :ref:`ref-files-storage` for the file storage API.
The built-in filesystem storage class
-------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment