mirror of https://github.com/django/django.git
Fixed spelling errors in docs.
This commit is contained in:
parent
b7a5b6ab86
commit
40ba6f21bb
|
@ -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
|
||||||
|
|
|
@ -267,6 +267,7 @@ Honza
|
||||||
hostname
|
hostname
|
||||||
hostnames
|
hostnames
|
||||||
howto
|
howto
|
||||||
|
hstore
|
||||||
html
|
html
|
||||||
http
|
http
|
||||||
https
|
https
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue