mirror of https://github.com/django/django.git
Fixed another few small bugs in docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@44 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0bbb48ccc5
commit
35d41699a9
|
@ -133,9 +133,9 @@ General field options
|
||||||
Each type of field takes a different set of options, but there are some
|
Each type of field takes a different set of options, but there are some
|
||||||
options that are common to all field types. These options are:
|
options that are common to all field types. These options are:
|
||||||
|
|
||||||
====================== ==================================================================
|
====================== ===================================================
|
||||||
Option Description
|
Option Description
|
||||||
====================== ==================================================================
|
====================== ===================================================
|
||||||
``blank`` If ``True``, the field is allowed to be blank.
|
``blank`` If ``True``, the field is allowed to be blank.
|
||||||
Note that this is different from ``null`` in that
|
Note that this is different from ``null`` in that
|
||||||
string fields will store the empty string instead of
|
string fields will store the empty string instead of
|
||||||
|
@ -217,7 +217,7 @@ options that are common to all field types. These options are:
|
||||||
``validator_list`` A list of extra validators to apply to the field.
|
``validator_list`` A list of extra validators to apply to the field.
|
||||||
See the `Form fields guide`_ for information about
|
See the `Form fields guide`_ for information about
|
||||||
validators.
|
validators.
|
||||||
====================== ==================================================================
|
====================== ===================================================
|
||||||
|
|
||||||
.. _`Form fields guide`: http://www.djangoproject.com/FIXME/
|
.. _`Form fields guide`: http://www.djangoproject.com/FIXME/
|
||||||
|
|
||||||
|
@ -415,7 +415,7 @@ Field Types
|
||||||
is to. This is almost always ``id``, but if the
|
is to. This is almost always ``id``, but if the
|
||||||
PK on the other object is named something
|
PK on the other object is named something
|
||||||
different, this is how to indicate that.
|
different, this is how to indicate that.
|
||||||
======================= ==================================================
|
====================== ===================================================
|
||||||
|
|
||||||
.. _`Database API reference`: http://www.djangoproject.com/documentation/db_api/
|
.. _`Database API reference`: http://www.djangoproject.com/documentation/db_api/
|
||||||
|
|
||||||
|
|
|
@ -543,7 +543,7 @@ Built-in filter reference
|
||||||
Removes all values of arg from the given string
|
Removes all values of arg from the given string
|
||||||
|
|
||||||
``date``
|
``date``
|
||||||
Formats a date according to the given format (same as the now_ tag)
|
Formats a date according to the given format (same as the ``now`` tag)
|
||||||
|
|
||||||
``default``
|
``default``
|
||||||
If value is unavailable, use given default
|
If value is unavailable, use given default
|
||||||
|
@ -654,7 +654,7 @@ Built-in filter reference
|
||||||
Strips all [X]HTML tags
|
Strips all [X]HTML tags
|
||||||
|
|
||||||
``time``
|
``time``
|
||||||
Formats a time according to the given format (same as the now_ tag).
|
Formats a time according to the given format (same as the ``now`` tag).
|
||||||
|
|
||||||
``timesince``
|
``timesince``
|
||||||
Formats a date as the time since that date (i.e. "4 days, 6 hours")
|
Formats a date as the time since that date (i.e. "4 days, 6 hours")
|
||||||
|
|
Loading…
Reference in New Issue