add location field to bookmarks
[wolnelektury.git] / src / bookmarks / api / views.py
index 82f67de..1bd4963 100644 (file)
@@ -20,7 +20,7 @@ class BookmarkSerializer(serializers.ModelSerializer):
     
     class Meta:
         model = models.Bookmark
-        fields = ['book', 'anchor', 'note', 'href', 'uuid']
+        fields = ['book', 'anchor', 'note', 'href', 'uuid', 'location']
         read_only_fields = ['uuid']