serializers.py 253 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 from django.forms import widgets from rest_framework import serializers from restful.models import File class FileSerializer(serializers.ModelSerializer): class Meta: model = File fields = ('created', 'updated', 'object_key')