mirror of https://github.com/django/django.git
Fixed #14490 -- fixed a typo in the docs. Thanks to gremmie for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a6cafffbf7
commit
26e8e53cf4
|
@ -476,7 +476,7 @@ specifically designed for rendering content to a HTML response using a
|
||||||
template. However, you can write your own mixins that perform
|
template. However, you can write your own mixins that perform
|
||||||
different rendering behavior.
|
different rendering behavior.
|
||||||
|
|
||||||
For example, you a simple JSON mixin might look something like this::
|
For example, a simple JSON mixin might look something like this::
|
||||||
|
|
||||||
class JSONResponseMixin(object):
|
class JSONResponseMixin(object):
|
||||||
def render_to_response(self, context):
|
def render_to_response(self, context):
|
||||||
|
|
Loading…
Reference in New Issue