From 0cef6bc5d627524354c47295df7a0aa84a64539e Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 1 Nov 2018 21:05:04 -0500 Subject: remove deprecated media range support from add_view and add_route --- docs/narr/viewconfig.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index dd767e3f1..da2c41409 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -302,6 +302,10 @@ Non-Predicate Arguments Specifying a media range is deprecated and will be removed in :app:`Pyramid` 2.0. Use explicit media types to avoid any ambiguities in content negotiation. + .. versionchanged:: 2.0 + + Removed support for media ranges. + ``exception_only`` When this value is ``True``, the ``context`` argument must be a subclass of -- cgit v1.2.3