Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 9b9411584340f2efcf24e28548be446de4bd9f29 1 parent 2dd753f
Malcolm Tredinnick authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  docs/generic_views.txt
3  docs/generic_views.txt
@@ -99,6 +99,9 @@ which is a dictionary of the parameters captured in the URL.
99 99
       dictionary is callable, the generic view will call it
100 100
       just before rendering the template.
101 101
 
  102
+    * ``mimetype``: The MIME type to use for the resulting document. Defaults
  103
+      to the value of the ``DEFAULT_CONTENT_TYPE`` setting.
  104
+
102 105
 **Example:**
103 106
 
104 107
 Given the following URL patterns::

0 notes on commit 9b94115

Please sign in to comment.
Something went wrong with that request. Please try again.