mirror of
https://github.com/django/django.git
synced 2025-03-26 01:00:46 +00:00
Fixed #4401 -- Added documentation about mimetype parameter to
direct_to_template generic view. Thanks, Forest Bond and Marc Fargas. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2dd753fa88
commit
9b94115843
@ -99,6 +99,9 @@ which is a dictionary of the parameters captured in the URL.
|
||||
dictionary is callable, the generic view will call it
|
||||
just before rendering the template.
|
||||
|
||||
* ``mimetype``: The MIME type to use for the resulting document. Defaults
|
||||
to the value of the ``DEFAULT_CONTENT_TYPE`` setting.
|
||||
|
||||
**Example:**
|
||||
|
||||
Given the following URL patterns::
|
||||
|
Loading…
x
Reference in New Issue
Block a user