permissions.py 205 B

1234567
  1. from rest_framework import serializers
  2. from dbsynce.models import Permissions
  3. class PermissionsSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Permissions
  6. exclude = ["id"]