from .models import Setting from rest_framework import serializers class SettingSerializer(serializers.ModelSerializer): class Meta: model = Setting fields = '__all__'