From c3fc00b9d8a7092fd2a329bfd6433381285de4f4 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 20 Feb 2020 17:34:51 +0200 Subject: [PATCH] Add a FIXME. --- django_etesync/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_etesync/views.py b/django_etesync/views.py index 1e97b4f..e7a6f87 100644 --- a/django_etesync/views.py +++ b/django_etesync/views.py @@ -175,6 +175,7 @@ class CollectionItemChunkViewSet(viewsets.ViewSet): serializer = self.serializer_class(data=request.data) if serializer.is_valid(): try: + # FIXME: actually generate the correct order value. Or alternatively have it null at first and only set it when ommitting to a snapshot serializer.save(item=col_it, order='abc') except IntegrityError: content = {'code': 'integrity_error'}