From c7bd48cb9f645e5ff07d1e68b86130e3bb2b043f Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 9 Aug 2010 21:16:59 +0000 Subject: [soc2010/query-refactor] Improved the ListField implementation, and added an EmbeddedModelField. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13564 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/utils/encoding.py | 1 + 1 file changed, 1 insertion(+) (limited to 'django/utils/encoding.py') diff --git a/django/utils/encoding.py b/django/utils/encoding.py index e2d7249903..c4139d9171 100644 --- a/django/utils/encoding.py +++ b/django/utils/encoding.py @@ -47,6 +47,7 @@ def is_protected_type(obj): return isinstance(obj, ( types.NoneType, int, long, + list, datetime.datetime, datetime.date, datetime.time, float, Decimal) ) -- cgit v1.3