Closed bicepjai closed 3 years ago
https://github.com/r4fek/django-cassandra-engine/blob/f6d74090d560c7e9d86877051bb693d342de10b7/django_cassandra_engine/rest/serializers.py#L33
columns.Date: serializers.DateTimeField should be columns.Date: serializers.DateField
columns.Date: serializers.DateTimeField
columns.Date: serializers.DateField
This causes AttributeError when using django rest frameowrk
Exception Type: | AttributeError -- | -- 'Date' object has no attribute 'utcoffset'
https://github.com/r4fek/django-cassandra-engine/blob/f6d74090d560c7e9d86877051bb693d342de10b7/django_cassandra_engine/rest/serializers.py#L33
columns.Date: serializers.DateTimeField
should becolumns.Date: serializers.DateField
This causes AttributeError when using django rest frameowrk