mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
00c554f89e
commit
2ea93f9327
58 changed files with 49 additions and 591 deletions
|
@ -173,8 +173,6 @@ If ``True``, djadmin:`django-admin.py sqlindexes <sqlindexes>` will output a
|
|||
|
||||
.. attribute:: Field.db_tablespace
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
The name of the database tablespace to use for this field's index, if this field
|
||||
is indexed. The default is the project's :setting:`DEFAULT_INDEX_TABLESPACE`
|
||||
setting, if set, or the :attr:`~Field.db_tablespace` of the model, if any. If
|
||||
|
@ -432,8 +430,6 @@ JavaScript shortcuts.
|
|||
``DecimalField``
|
||||
----------------
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
.. class:: DecimalField(max_digits=None, decimal_places=None, [**options])
|
||||
|
||||
A fixed-precision decimal number, represented in Python by a
|
||||
|
@ -489,8 +485,6 @@ Has one **required** argument:
|
|||
date/time of the file upload (so that uploaded files don't fill up the given
|
||||
directory).
|
||||
|
||||
.. versionchanged:: 1.0
|
||||
|
||||
This may also be a callable, such as a function, which will be called to
|
||||
obtain the upload path, including the filename. This callable must be able
|
||||
to accept two arguments, and return a Unix-style path (with forward slashes)
|
||||
|
@ -519,8 +513,6 @@ Also has one optional argument:
|
|||
|
||||
.. attribute:: FileField.storage
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
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.
|
||||
|
||||
|
@ -567,9 +559,6 @@ without validation, to a directory that's within your Web server's document
|
|||
root, then somebody could upload a CGI or PHP script and execute that script by
|
||||
visiting its URL on your site. Don't allow that.
|
||||
|
||||
.. versionadded:: 1.0
|
||||
The ``max_length`` argument was added in this version.
|
||||
|
||||
By default, :class:`FileField` instances are
|
||||
created as ``varchar(100)`` columns in your database. As with other fields, you
|
||||
can change the maximum length using the :attr:`~CharField.max_length` argument.
|
||||
|
@ -652,9 +641,6 @@ base filename, not the full path. So, this example::
|
|||
because the :attr:`~FilePathField.match` applies to the base filename
|
||||
(``foo.gif`` and ``bar.gif``).
|
||||
|
||||
.. versionadded:: 1.0
|
||||
The ``max_length`` argument was added in this version.
|
||||
|
||||
By default, :class:`FilePathField` instances are
|
||||
created as ``varchar(100)`` columns in your database. As with other fields, you
|
||||
can change the maximum length using the :attr:`~CharField.max_length` argument.
|
||||
|
@ -664,8 +650,6 @@ can change the maximum length using the :attr:`~CharField.max_length` argument.
|
|||
|
||||
.. class:: FloatField([**options])
|
||||
|
||||
.. versionchanged:: 1.0
|
||||
|
||||
A floating-point number represented in Python by a ``float`` instance.
|
||||
|
||||
The admin represents this as an ``<input type="text">`` (a single-line input).
|
||||
|
@ -699,9 +683,6 @@ Requires the `Python Imaging Library`_.
|
|||
|
||||
.. _Python Imaging Library: http://www.pythonware.com/products/pil/
|
||||
|
||||
.. versionadded:: 1.0
|
||||
The ``max_length`` argument was added in this version.
|
||||
|
||||
By default, :class:`ImageField` instances are created as ``varchar(100)``
|
||||
columns in your database. As with other fields, you can change the maximum
|
||||
length using the :attr:`~CharField.max_length` argument.
|
||||
|
@ -874,8 +855,6 @@ you can use the name of the model, rather than the model object itself::
|
|||
class Manufacturer(models.Model):
|
||||
# ...
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
To refer to models defined in another application, you can explicitly specify
|
||||
a model with the full application label. For example, if the ``Manufacturer``
|
||||
model above is defined in another application called ``production``, you'd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue