diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-01 10:37:39 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-01 10:37:39 +0000 |
| commit | 9b9411584340f2efcf24e28548be446de4bd9f29 (patch) | |
| tree | 89466bbf9f6c5a15533c77e8d060070c612ee369 /docs | |
| parent | 2dd753fa889d4868a52c465beb8a48a0bca761eb (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/generic_views.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt index bb5f7320f6..359a82506a 100644 --- a/docs/generic_views.txt +++ b/docs/generic_views.txt @@ -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:: |
