Commit 3d8e106a authored by Mohammed Attia's avatar Mohammed Attia Committed by Simon Charette
Browse files

[1.6.x] Removed a doc reference to the deprecated `mimetype` kwarg.

Backport of 61ed9592 from master
parent 5fdfa2d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ MIME type :mimetype:`application/xhtml+xml`::
    def my_view(request):
        # View code here...
        return render_to_response('myapp/index.html', {"foo": "bar"},
            mimetype="application/xhtml+xml")
            content_type="application/xhtml+xml")

This example is equivalent to::