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
This commit is contained in:
Russell Keith-Magee 2009-04-16 12:48:46 +00:00
parent 565c190611
commit 9103a9bd6c
1 changed files with 2 additions and 2 deletions

View File

@ -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
-------------------------------------