From 22f50aae45e58b848ee947bfb12ef9068480648b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 2 Apr 2021 15:00:15 +0200 Subject: [PATCH] managed: fix ManagedSerializer interfering with other serializers Signed-off-by: Jens Langhammer --- authentik/managed/api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/authentik/managed/api.py b/authentik/managed/api.py index d519c38e5..a3e8196c5 100644 --- a/authentik/managed/api.py +++ b/authentik/managed/api.py @@ -1,10 +1,8 @@ """Serializer mixin for managed models""" from rest_framework.fields import CharField -from authentik.core.api.utils import PassiveSerializer - -class ManagedSerializer(PassiveSerializer): +class ManagedSerializer: """Managed Serializer""" managed = CharField(read_only=True, allow_null=True)