diff --git a/django_etebase/app_settings.py b/django_etebase/app_settings.py index c1e8dc9..90225a6 100644 --- a/django_etebase/app_settings.py +++ b/django_etebase/app_settings.py @@ -31,17 +31,6 @@ class AppSettings: return getattr(settings, self.prefix + name, dflt) - @cached_property - def API_PERMISSIONS(self): # pylint: disable=invalid-name - """ - Deprecated. Do not use. - """ - perms = self._setting("API_PERMISSIONS", ("rest_framework.permissions.IsAuthenticated",)) - ret = [] - for perm in perms: - ret.append(self.import_from_str(perm)) - return ret - @cached_property def API_PERMISSIONS_READ(self): # pylint: disable=invalid-name perms = self._setting("API_PERMISSIONS_READ", tuple()) @@ -58,23 +47,6 @@ class AppSettings: ret.append(self.import_from_str(perm)) return ret - @cached_property - def API_AUTHENTICATORS(self): # pylint: disable=invalid-name - """ - Deprecated. Do not use. - """ - perms = self._setting( - "API_AUTHENTICATORS", - ( - "rest_framework.authentication.TokenAuthentication", - "rest_framework.authentication.SessionAuthentication", - ), - ) - ret = [] - for perm in perms: - ret.append(self.import_from_str(perm)) - return ret - @cached_property def GET_USER_QUERYSET_FUNC(self): # pylint: disable=invalid-name get_user_queryset = self._setting("GET_USER_QUERYSET_FUNC", None)