mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.1.X] Fixed #11873 -- Corrected typo in generic views docs. Thanks to Brett Cannon for the report.
Merge of r11546 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user