Skip to content

Commit 317010e

Browse files
committed
[soc2010/query-refactor] Merged up to trunk r13425.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent f70c998 commit 317010e

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

docs/faq/install.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Do I lose anything by using Python 2.4 versus newer Python versions, such as Pyt
4646
-----------------------------------------------------------------------------------------------
4747

4848
Not in the core framework. Currently, Django itself officially supports any
49-
version of Python from 2.4 through 2.6, inclusive. However, newer versions of
49+
version of Python from 2.4 through 2.7, inclusive. However, newer versions of
5050
Python are often faster, have more features, and are better supported.
5151
Third-party applications for use with Django are, of course, free to set their
5252
own version requirements.
@@ -56,7 +56,7 @@ versions as part of a migration which will end with Django running on Python 3
5656
(see below for details).
5757

5858
All else being equal, we recommend that you use the latest 2.x release
59-
(currently Python 2.6). This will let you take advantage of the numerous
59+
(currently Python 2.7). This will let you take advantage of the numerous
6060
improvements and optimizations to the Python language since version 2.4, and
6161
will help ease the process of dropping support for older Python versions on
6262
the road to Python 3.

docs/intro/install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Install Python
1212
--------------
1313

1414
Being a Python Web framework, Django requires Python. It works with any Python
15-
version from 2.4 to 2.6 (due to backwards
15+
version from 2.4 to 2.7 (due to backwards
1616
incompatibilities in Python 3.0, Django does not currently work with
1717
Python 3.0; see :ref:`the Django FAQ <faq-install>` for more
1818
information on supported Python versions and the 3.0 transition), but we recommend installing Python 2.5 or later. If you do so, you won't need to set up a database just yet: Python 2.5 or later includes a lightweight database called SQLite_.

docs/ref/validators.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Validators
55
==========
66

77
.. versionadded:: 1.2
8+
.. module:: django.core.validators
9+
:synopsis: Validation utilities and base classes
810

911
Writing validators
1012
==================

docs/topics/db/optimization.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Database access optimization
55
============================
66

77
Django's database layer provides various ways to help developers get the most
8-
out of their databases. This documents gathers together links to the relevant
8+
out of their databases. This document gathers together links to the relevant
99
documentation, and adds various tips, organized under an number of headings that
1010
outline the steps to take when attempting to optimize your database usage.
1111

@@ -108,9 +108,8 @@ Do database work in the database rather than in Python
108108

109109
For instance:
110110

111-
* At the most basic level, use :ref:`filter and exclude <queryset-api>` to
112-
filtering in the database to avoid loading data into your Python process, only
113-
to throw much of it away.
111+
* At the most basic level, use :ref:`filter and exclude <queryset-api>` to do
112+
filtering in the database.
114113

115114
* Use :ref:`F() object query expressions <query-expressions>` to do filtering
116115
against other fields within the same model.
@@ -245,9 +244,6 @@ methods of individual instances, which means that any custom behaviour you have
245244
added for these methods will not be executed, including anything driven from the
246245
normal database object :ref:`signals <ref-signals>`.
247246

248-
Don't retrieve things you already have
249-
======================================
250-
251247
Use foreign key values directly
252248
-------------------------------
253249

docs/topics/install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install Python
1111

1212
Being a Python Web framework, Django requires Python.
1313

14-
It works with any Python version from 2.4 to 2.6 (due to backwards
14+
It works with any Python version from 2.4 to 2.7 (due to backwards
1515
incompatibilities in Python 3.0, Django does not currently work with
1616
Python 3.0; see :ref:`the Django FAQ <faq-install>` for more
1717
information on supported Python versions and the 3.0 transition).

docs/topics/serialization.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ For example::
169169
json_serializer.serialize(queryset, ensure_ascii=False, stream=response)
170170

171171
The Django source code includes the simplejson_ module. However, if you're
172-
using Python 2.6 (which includes a builtin version of the module), Django will
172+
using Python 2.6 or later (which includes a builtin version of the module), Django will
173173
use the builtin ``json`` module automatically. If you have a system installed
174174
version that includes the C-based speedup extension, or your system version is
175175
more recent than the version shipped with Django (currently, 2.0.7), the

0 commit comments

Comments
 (0)