jpadilla / django-rest-framework-yaml

YAML support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-yaml
BSD 3-Clause "New" or "Revised" License
31 stars 18 forks source link

Represent UUID's as strings #11

Open Brishen opened 4 years ago

Brishen commented 4 years ago

Convert UUID objects to string, otherwise pyyaml will fail to convert.

stefan6419846 commented 2 years ago

You might want to rebase your branch on the latest master, which already has a fix for the six issue (which is better than your solution in my opinion). This should re-run the CI as well, as the old CI log is not available anymore.

Additionally, a corresponding test probably would be nice.