Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 31a07e8cf9383d0563b2e417edc0113b15cddb54 1 parent 7768fe3
@adrianholovaty adrianholovaty authored
Showing with 9 additions and 14 deletions.
  1. +9 −14 docs/model-api.txt
View
23 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``
~~~~~~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.