From 9b9411584340f2efcf24e28548be446de4bd9f29 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 1 Jun 2007 10:37:39 +0000 Subject: [PATCH] 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 --- docs/generic_views.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/generic_views.txt b/docs/generic_views.txt index bb5f7320f65..359a82506ae 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::