From 43cbf2669a5aed4b98d2d19a9581bfaf526d4e8b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 27 Jul 2016 13:02:12 +0100 Subject: [PATCH] Set view.format_kwarg in schema generator --- rest_framework/schemas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/schemas.py b/rest_framework/schemas.py index cf84aca74c..4c97f9868a 100644 --- a/rest_framework/schemas.py +++ b/rest_framework/schemas.py @@ -84,6 +84,7 @@ def get_schema(self, request=None): method = link.action.upper() view = callback.cls() view.request = clone_request(request, method) + view.format_kwarg = None try: view.check_permissions(view.request) except exceptions.APIException: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy