Ticket #11873: generic_views_pluralization.diff
File generic_views_pluralization.diff, 704 bytes (added by , 15 years ago) |
---|
-
docs/topics/generic-views.txt
64 64 the extra-parameters dictionary and uses that information when rendering the 65 65 view. 66 66 67 Because this generic view -- and all the others -- is a regular view function s67 Because this generic view -- and all the others -- is a regular view function 68 68 like any other, we can reuse it inside our own views. As an example, let's 69 69 extend our "about" example to map URLs of the form ``/about/<whatever>/`` to 70 70 statically rendered ``about/<whatever>.html``. We'll do this by first modifying