micro_service_placeholder/microService/api/Permission/serializer.py

7 lines
216 B
Python
Raw Normal View History

2024-11-30 05:34:13 +00:00
from rest_framework import serializers
from django.contrib.auth.models import Permission
class PermissionSerializer(serializers.ModelSerializer):
class Meta:
model = Permission
fields = '__all__'