Fixed spelling errors in docs.

This commit is contained in:
Tim Graham 2014-11-11 16:41:09 +01:00
parent b7a5b6ab86
commit 40ba6f21bb
3 changed files with 3 additions and 2 deletions

View File

@ -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 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 the passed in context dictionary could be shadowed by context data returned
from context processors, whereas for ``render`` it was the other way 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 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 in the view. If you were relying on the fact context data in a
``TemplateResponse`` could be overridden using a context processor, you will ``TemplateResponse`` could be overridden using a context processor, you will

View File

@ -267,6 +267,7 @@ Honza
hostname hostname
hostnames hostnames
howto howto
hstore
html html
http http
https https

View File

@ -591,7 +591,7 @@ errors. For example, ``{{ form.non_field_errors }}`` would look like:
.. versionchanged:: 1.8 .. 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 See :doc:`/ref/forms/api` for more on errors, styling, and working with form
attributes in templates. attributes in templates.