MeanPug / django-gsheets

Django app for keeping models and google sheets synced
https://www.meanpug.com/sync-data-to-and-from-google-sheets-with-django-gsheets/
MIT License
60 stars 25 forks source link

TypeError: Object of type 'datetime' is not JSON serializable #14

Open whob13 opened 4 years ago

whob13 commented 4 years ago

Let me lead by saying this is an amazing plugin, thank you for putting in the time to make it functional.

As I set it up, I noticed that only string values seem to be pushing successfully - this is with mixins.SheetPushableMixin and I tried both a DecimalField and DateTimeField. Is there a plan to make additional field types compatible?

steinbachr commented 4 years ago

thanks @whob13 !

There are no immediate plans to expand functionality, but happy to take a look at and merge in any PR you'd like to take on to add that functionality.