Skip to content

Commit

Permalink
fix: provide correct type (tuple) for permission classes
Browse files Browse the repository at this point in the history
  • Loading branch information
babslgam authored and koeaw committed Jan 8, 2024
1 parent 7f4465e commit 41e55a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apis_ontology/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41e55a7

Please sign in to comment.