This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik/managed/api.py
Jens Langhammer 22f50aae45 managed: fix ManagedSerializer interfering with other serializers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 15:00:15 +02:00

9 lines
200 B
Python

"""Serializer mixin for managed models"""
from rest_framework.fields import CharField
class ManagedSerializer:
"""Managed Serializer"""
managed = CharField(read_only=True, allow_null=True)