Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
189 B
2
Indexable
Never
from .models import Setting
from rest_framework import serializers

class SettingSerializer(serializers.ModelSerializer):
    class Meta:
        model = Setting
        fields = '__all__'