beat.web.common.mixins module¶
-
class
beat.web.common.mixins.CommonContextMixin[source]¶ Bases:
objectApply this mixin to any view or viewset to get the request user in the serializer context optionnaly the request object format
-
class
beat.web.common.mixins.SerializerFieldsMixin[source]¶ Bases:
objectApply this mixin to any view or viewset to get the list of fields to return