summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-09-20 01:48:47 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-09-20 01:48:47 +0000
commit31a07e8cf9383d0563b2e417edc0113b15cddb54 (patch)
tree75440698c43fa8e7c4916c65638d75e07275fb4b /docs
parent7768fe3505d08cc15c276edd0b0c0c53e7e6c649 (diff)
Fixed errors in docs/model-api.txt changes from [6378]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt23
1 files changed, 9 insertions, 14 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 2f40abd3a9..a0844ea961 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -293,11 +293,9 @@ visiting its URL on your site. Don't allow that.
.. _`strftime formatting`: http://docs.python.org/lib/module-time.html#l2h-1941
-**New in development version:**
-
-By default, file fields are created as ``varchar(100)`` database fields. Like
-other fields, you can change the maximum length using the ``max_length``
-argument.
+**New in development version:** By default, ``FileField`` instances are
+created as ``varchar(100)`` columns in your database. As with other fields, you
+can change the maximum length using the ``max_length`` argument.
``FilePathField``
~~~~~~~~~~~~~~~~~
@@ -336,11 +334,9 @@ not the full path. So, this example::
because the ``match`` applies to the base filename (``foo.gif`` and
``bar.gif``).
-**New in development version:**
-
-By default, file fields are created as ``varchar(100)`` database fields. Like
-other fields, you can change the maximum length using the ``max_length``
-argument.
+**New in development version:** By default, ``FilePathField`` instances are
+created as ``varchar(100)`` columns in your database. As with other fields, you
+can change the maximum length using the ``max_length`` argument.
``FloatField``
~~~~~~~~~~~~~~
@@ -373,11 +369,10 @@ Requires the `Python Imaging Library`_.
.. _Python Imaging Library: http://www.pythonware.com/products/pil/
.. _elsewhere: ../db-api/#get-foo-height-and-get-foo-width
-**New in development version:**
+**New in development version:** By default, ``ImageField`` instances are
+created as ``varchar(100)`` columns in your database. As with other fields, you
+can change the maximum length using the ``max_length`` argument.
-By default, file fields are created as ``varchar(100)`` database fields. Like
-other fields, you can change the maximum length using the ``max_length``
-argument.
``IntegerField``
~~~~~~~~~~~~~~~~