1. Waldemar Kornewald
  2. django-nonrel

Commits

Waldemar Kornewald  committed 0cbd789

added tuples, lists, and dicts to protected types (useful in particular for serializers)

  • Participants
  • Parent commits 43eec2a
  • Branches default

Comments (0)

Files changed (1)

File django/utils/encoding.py

View file
         types.NoneType,
         int, long,
         datetime.datetime, datetime.date, datetime.time,
-        float, Decimal)
+        float, Decimal,
+        tuple, list, dict)
     )
 
 def force_unicode(s, encoding='utf-8', strings_only=False, errors='strict'):