Ticket #12887: django-docs-grammar.diff

File django-docs-grammar.diff, 1.4 KB (added by Daniel Hahler, 15 years ago)
  • docs/releases/1.2-alpha-1.txt

     
    463463
    464464In previous versions of Django, every time you rendered a template it
    465465would 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 a
    467 cached the result for every subsequent render. This can lead to a
     466template loader <template-loaders>` to load templates once, then use
     467the cached result for every subsequent render. This can lead to a
    468468significant performance improvement if your templates are broken into
    469469lots of smaller subtemplates (using the ``{% extends %}`` or ``{%
    470470include %}`` tags).
  • docs/releases/1.2.txt

     
    146146added a ``_state`` attribute to object instances. This attribute will
    147147appear in ``__dict__`` for a model instance. If your code relies on
    148148iterating over __dict__ to obtain a list of fields, you must now
    149 filter the ``_state`` attribute of out ``__dict__``.
     149filter the ``_state`` attribute out of ``__dict__``.
    150150
    151151``get_db_prep_*()`` methods on ``Field``
    152152----------------------------------------
Back to Top