From dfc8c24094df8ac15fb5ce47f79117cd08a2fd23 Mon Sep 17 00:00:00 2001 From: Maya Date: Tue, 8 Feb 2022 10:19:01 +0300 Subject: [PATCH] Revert settings --- cvat/settings/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cvat/settings/base.py b/cvat/settings/base.py index 686d4d948c0d..517be013e570 100644 --- a/cvat/settings/base.py +++ b/cvat/settings/base.py @@ -168,6 +168,8 @@ def add_ssh_keys(): 'rest_framework.filters.OrderingFilter', 'cvat.apps.iam.filters.OrganizationFilterBackend'), + # Disable default handling of the 'format' query parameter by REST framework + 'URL_FORMAT_OVERRIDE': 'scheme', 'DEFAULT_THROTTLE_CLASSES': [ 'rest_framework.throttling.AnonRateThrottle', ],