From 9103a9bd6cc2b40f9af5787687b0f359d0a36061 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 16 Apr 2009 12:48:46 +0000 Subject: [PATCH] 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 --- docs/topics/files.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/files.txt b/docs/topics/files.txt index e166ff92c4..8e17db20fb 100644 --- a/docs/topics/files.txt +++ b/docs/topics/files.txt @@ -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 -------------------------------------