Commit 40ba6f21 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed spelling errors in docs.

parent b7a5b6ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -653,7 +653,7 @@ drop-in replacement for the :func:`~django.shortcuts.render` function. However,
it had a slight incompatibility, in that for ``TemplateResponse``, context data
from the passed in context dictionary could be shadowed by context data returned
from context processors, whereas for ``render`` it was the other way
around. This was a bug, and the behaviour of ``render`` is more appropriate,
around. This was a bug, and the behavior of ``render`` is more appropriate,
since it allows the globally defined context processors to be overridden locally
in the view. If you were relying on the fact context data in a
``TemplateResponse`` could be overridden using a context processor, you will
+1 −0
Original line number Diff line number Diff line
@@ -267,6 +267,7 @@ Honza
hostname
hostnames
howto
hstore
html
http
https
+1 −1
Original line number Diff line number Diff line
@@ -591,7 +591,7 @@ errors. For example, ``{{ form.non_field_errors }}`` would look like:

.. versionchanged:: 1.8

    The "nonfield" class as described in the example above was added.
    The ``nonfield`` class as described in the example above was added.

See :doc:`/ref/forms/api` for more on errors, styling, and working with form
attributes in templates.