Skip to content

Instantly share code, notes, and snippets.

@marcgibbons
Created May 16, 2013 18:55
Show Gist options
  • Save marcgibbons/5594126 to your computer and use it in GitHub Desktop.
Save marcgibbons/5594126 to your computer and use it in GitHub Desktop.
Serializer ex
class CigarSerializer(serializers.ModelSerializer):
class Meta:
model = models.Cigar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment