From 41e55a7dffc3453b2ae4d03fc6075cfc01c659df Mon Sep 17 00:00:00 2001 From: Barbara Krautgartner Date: Wed, 3 Jan 2024 10:45:35 +0000 Subject: [PATCH] fix: provide correct type (tuple) for permission classes --- apis_ontology/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apis_ontology/settings.py b/apis_ontology/settings.py index a9093f7..c776f95 100644 --- a/apis_ontology/settings.py +++ b/apis_ontology/settings.py @@ -61,9 +61,9 @@ # see https://www.django-rest-framework.org/api-guide/permissions/ -REST_FRAMEWORK[ - "DEFAULT_PERMISSION_CLASSES" -] = "rest_framework.permissions.IsAuthenticated" +REST_FRAMEWORK["DEFAULT_PERMISSION_CLASSES"] = ( + "rest_framework.permissions.IsAuthenticated", +) # drf-spectacular # see https://drf-spectacular.readthedocs.io/en/latest/settings.html