﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25019	DjangoJSONEncoder does not encode UUIDs	lukas-hetzenecker	nobody	"Django extends the standard the json encoder from the standard library to enhance its functionality, for example by providing methods to serialize Datetimes and Decimals.

Because UUIDField was included in Django, serialization of uuid.UUID should be possible too.
There are projects out there that make use of UUIDFields and that will run in problems if they try to serialize the model. An example for such a bug report is https://github.com/sehmaschine/django-grappelli/issues/635

Example project is attached.

=== EDIT ===

Reopened as Bug with version 1.8 in response to conversation with Russell Keith-Magee  in django-developers mailing list."	Bug	closed	Core (Serialization)	1.8	Normal	fixed	UUIDField DjangoJSONEncoder		Accepted	1	0	0	0	1	0
