Allow token and session auth

This commit is contained in:
2021-04-05 20:48:14 -05:00
parent 0793242dfe
commit b46ec965e1
3 changed files with 12 additions and 5 deletions

View File

@@ -4,4 +4,4 @@ from bookmarks.models import Bookmark
class BookmarkSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Bookmark
fields = ['title', 'url']
fields = ['title', 'url', 'id']