Skip to content

Instantly share code, notes, and snippets.

@brunomichetti
Created July 11, 2022 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomichetti/c3e93408cd5567fe6f2a23794a2138fc to your computer and use it in GitHub Desktop.
Save brunomichetti/c3e93408cd5567fe6f2a23794a2138fc to your computer and use it in GitHub Desktop.
from rest_framework import serializers
from example_app.models import Example
class ExampleSerializer(serializers.ModelSerializer):
class Meta:
model = Example
fields = ('presigned_image',)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment