mirror of https://github.com/django/django.git
Fixed #11873 -- Corrected typo in generic views docs. Thanks to Brett Cannon for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8b6a2c11e4
commit
d0c6e9cf63
|
@ -64,7 +64,7 @@ code! --, actually the ``direct_to_template`` view simply grabs information from
|
|||
the extra-parameters dictionary and uses that information when rendering the
|
||||
view.
|
||||
|
||||
Because this generic view -- and all the others -- is a regular view functions
|
||||
Because this generic view -- and all the others -- is a regular view function
|
||||
like any other, we can reuse it inside our own views. As an example, let's
|
||||
extend our "about" example to map URLs of the form ``/about/<whatever>/`` to
|
||||
statically rendered ``about/<whatever>.html``. We'll do this by first modifying
|
||||
|
|
Loading…
Reference in New Issue