managed: fix ManagedSerializer interfering with other serializers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
1daba5db87
commit
22f50aae45
|
@ -1,10 +1,8 @@
|
||||||
"""Serializer mixin for managed models"""
|
"""Serializer mixin for managed models"""
|
||||||
from rest_framework.fields import CharField
|
from rest_framework.fields import CharField
|
||||||
|
|
||||||
from authentik.core.api.utils import PassiveSerializer
|
|
||||||
|
|
||||||
|
class ManagedSerializer:
|
||||||
class ManagedSerializer(PassiveSerializer):
|
|
||||||
"""Managed Serializer"""
|
"""Managed Serializer"""
|
||||||
|
|
||||||
managed = CharField(read_only=True, allow_null=True)
|
managed = CharField(read_only=True, allow_null=True)
|
||||||
|
|
Reference in a new issue