graphql-python / graphql-python/graphene-django

Cannot Serialize the datetime

Open
#1,075 0 comments 0 reactions 0 assignees View on GitHub
🐛bug
Dominant language
Python
Stars
4.4k
Forks
760
PR merge metrics
No merged PRs in 30d

Description

* **What is the current behavior?**
```
TypeError: Object of type 'datetime' is not JSON serializable
```

* **What is the expected behavior?**

Should serialize correctly without any error

* **What is the motivation / use case for changing the behavior?**

Integration with django-graphql-jwt 0.3.1

* **Please tell us about your environment:**

- Version: graphene-django 2.14.0
- Platform: Django 3.1.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.