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
This commit is contained in:
Adrian Holovaty 2007-09-20 01:48:47 +00:00
parent 7768fe3505
commit 31a07e8cf9
1 changed files with 9 additions and 14 deletions

View File

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