Commits

Ionel Cristian Mărieș committed acfdf76

Added handling for set types.

Comments (0)

Files changed (1)

             
             if isinstance(thing, QuerySet):
                 ret = _qs(thing, fields=fields)
-            elif isinstance(thing, (tuple, list)):
+            elif isinstance(thing, (tuple, list, set)):
                 ret = _list(thing)
             elif isinstance(thing, dict):
                 ret = _dict(thing)