Ticket #12887: django-docs-grammar.diff
File django-docs-grammar.diff, 1.4 KB (added by , 15 years ago) |
---|
-
docs/releases/1.2-alpha-1.txt
463 463 464 464 In previous versions of Django, every time you rendered a template it 465 465 would be reloaded from disk. In Django 1.2, you can use a :ref:`cached 466 template loader <template-loaders>` to load templates once, then use a467 cached theresult for every subsequent render. This can lead to a466 template loader <template-loaders>` to load templates once, then use 467 the cached result for every subsequent render. This can lead to a 468 468 significant performance improvement if your templates are broken into 469 469 lots of smaller subtemplates (using the ``{% extends %}`` or ``{% 470 470 include %}`` tags). -
docs/releases/1.2.txt
146 146 added a ``_state`` attribute to object instances. This attribute will 147 147 appear in ``__dict__`` for a model instance. If your code relies on 148 148 iterating over __dict__ to obtain a list of fields, you must now 149 filter the ``_state`` attribute o f out``__dict__``.149 filter the ``_state`` attribute out of ``__dict__``. 150 150 151 151 ``get_db_prep_*()`` methods on ``Field`` 152 152 ----------------------------------------