Skip to content

Commit

Permalink
fix spelling error 🐛
Browse files Browse the repository at this point in the history
I think lots of people are still reading these codes like me,  so fix the spelling mistake is necessary.
  • Loading branch information
ZivLi committed Jun 23, 2017
1 parent 16e0d75 commit 7e5ba2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blogpost/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def has_permission(self, request, view):
return False


class BlogpsotSerializer(serializers.HyperlinkedModelSerializer):
class BlogpostSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Blogpost
fields = ('title', 'author', 'body', 'slug', 'id')
Expand Down

0 comments on commit 7e5ba2f

Please sign in to comment.