From fbc06eef1af1d7ecf91fae5a94a1994f356ffd22 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 25 Dec 2012 09:56:22 -0500 Subject: [1.5.X] Fixed broken links, round 3. refs #19516 Backport of b3a8c9dab8 from master --- docs/ref/models/fields.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/ref/models/fields.txt') diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index a33c985e2c..45a70c66e3 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -547,8 +547,7 @@ Also has one optional argument: Optional. A storage object, which handles the storage and retrieval of your files. See :doc:`/topics/files` for details on how to provide this object. -The default form widget for this field is a -:class:`~django.forms.widgets.FileInput`. +The default form widget for this field is a :class:`~django.forms.FileInput`. Using a :class:`FileField` or an :class:`ImageField` (see below) in a model takes a few steps: @@ -590,7 +589,7 @@ topic guide. saved. The uploaded file's relative URL can be obtained using the -:attr:`~django.db.models.fields.FileField.url` attribute. Internally, +:attr:`~django.db.models.FileField.url` attribute. Internally, this calls the :meth:`~django.core.files.storage.Storage.url` method of the underlying :class:`~django.core.files.storage.Storage` class. -- cgit v1.3