Fixed #12887 - Fixed typo in release docs. Thanks blueyed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b2c43df84f
commit
421f0195c1
|
@ -463,8 +463,8 @@ Template caching
|
||||||
|
|
||||||
In previous versions of Django, every time you rendered a template it
|
In previous versions of Django, every time you rendered a template it
|
||||||
would be reloaded from disk. In Django 1.2, you can use a :ref:`cached
|
would be reloaded from disk. In Django 1.2, you can use a :ref:`cached
|
||||||
template loader <template-loaders>` to load templates once, then use a
|
template loader <template-loaders>` to load templates once, then use
|
||||||
cached the result for every subsequent render. This can lead to a
|
the cached result for every subsequent render. This can lead to a
|
||||||
significant performance improvement if your templates are broken into
|
significant performance improvement if your templates are broken into
|
||||||
lots of smaller subtemplates (using the ``{% extends %}`` or ``{%
|
lots of smaller subtemplates (using the ``{% extends %}`` or ``{%
|
||||||
include %}`` tags).
|
include %}`` tags).
|
||||||
|
|
|
@ -146,7 +146,7 @@ In order to support multiple database configurations, Django 1.2 has
|
||||||
added a ``_state`` attribute to object instances. This attribute will
|
added a ``_state`` attribute to object instances. This attribute will
|
||||||
appear in ``__dict__`` for a model instance. If your code relies on
|
appear in ``__dict__`` for a model instance. If your code relies on
|
||||||
iterating over __dict__ to obtain a list of fields, you must now
|
iterating over __dict__ to obtain a list of fields, you must now
|
||||||
filter the ``_state`` attribute of out ``__dict__``.
|
filter the ``_state`` attribute out of ``__dict__``.
|
||||||
|
|
||||||
``get_db_prep_*()`` methods on ``Field``
|
``get_db_prep_*()`` methods on ``Field``
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue