Loading docs/releases/1.2-alpha-1.txt +2 −2 Original line number Diff line number Diff line Loading @@ -463,8 +463,8 @@ Template caching 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 template loader <template-loaders>` to load templates once, then use a cached the result for every subsequent render. This can lead to a template loader <template-loaders>` to load templates once, then use the cached result for every subsequent render. This can lead to a significant performance improvement if your templates are broken into lots of smaller subtemplates (using the ``{% extends %}`` or ``{% include %}`` tags). Loading docs/releases/1.2.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 appear in ``__dict__`` for a model instance. If your code relies on 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`` ---------------------------------------- Loading Loading
docs/releases/1.2-alpha-1.txt +2 −2 Original line number Diff line number Diff line Loading @@ -463,8 +463,8 @@ Template caching 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 template loader <template-loaders>` to load templates once, then use a cached the result for every subsequent render. This can lead to a template loader <template-loaders>` to load templates once, then use the cached result for every subsequent render. This can lead to a significant performance improvement if your templates are broken into lots of smaller subtemplates (using the ``{% extends %}`` or ``{% include %}`` tags). Loading
docs/releases/1.2.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 appear in ``__dict__`` for a model instance. If your code relies on 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`` ---------------------------------------- Loading