diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2014-11-03 12:30:48 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-03 21:40:26 -0500 |
| commit | 5c517ec21839358249c6f17611abbf84661fb200 (patch) | |
| tree | 1afeb511ca0dc8ab5e969af6b07aa2dd9ea3ce60 /docs/ref/models | |
| parent | a71a2ea756673cd3c7a2c5125fa7e7f334b05475 (diff) | |
Fixed versionchanged indentation in docs/.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/instances.txt | 8 | ||||
| -rw-r--r-- | docs/ref/models/options.txt | 4 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 10 |
3 files changed, 12 insertions, 10 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index de0c25f831..21c4c86c13 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -604,8 +604,8 @@ For example:: .. versionchanged:: 1.7 - In previous versions only instances of the exact same class and same - primary key value were considered equal. + In previous versions only instances of the exact same class and same + primary key value were considered equal. ``__hash__`` ------------ @@ -621,8 +621,8 @@ in Python`_). .. versionchanged:: 1.7 - In previous versions instance's without primary key value were - hashable. + In previous versions instance's without primary key value were + hashable. .. _is forbidden in Python: http://docs.python.org/reference/datamodel.html#object.__hash__ diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt index 6cb2e34bd9..8c6cd4f698 100644 --- a/docs/ref/models/options.txt +++ b/docs/ref/models/options.txt @@ -338,8 +338,8 @@ Django quotes column and table names behind the scenes. .. versionchanged:: 1.7 - The ``ValidationError`` raised during model validation when the - constraint is violated has the ``unique_together`` error code. + The ``ValidationError`` raised during model validation when the + constraint is violated has the ``unique_together`` error code. ``index_together`` ------------------ diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 9187dffdba..77f933de6a 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -819,12 +819,14 @@ If you need to clear the list of related fields added by past calls of >>> without_relations = queryset.select_related(None) +Chaining ``select_related`` calls works in a similar way to other methods - +that is that ``select_related('foo', 'bar')`` is equivalent to +``select_related('foo').select_related('bar')``. + .. versionchanged:: 1.7 -Chaining ``select_related`` calls now works in a similar way to other methods - -that is that ``select_related('foo', 'bar')`` is equivalent to -``select_related('foo').select_related('bar')``. Previously the latter would -have been equivalent to ``select_related('bar')``. + Previously the latter would have been equivalent to + ``select_related('bar')``. prefetch_related ~~~~~~~~~~~~~~~~ |
