Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fixture/dataset/dataset.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

"""Representations of Data

The main class you will work with is :class:`DataSet` but there are a
few variations on it: :class:`SuperSet` and :class:`MergedSuperSet`

"""

import sys, types
import sys, types, datetime
from fixture.util import ObjRegistry

class DataContainer(object):
Expand Down Expand Up @@ -563,7 +562,8 @@ def add_ref_from_rowlike(rowlike):
# ListProperty supports quite a few more types than these
# see appengine.ext.db._ALLOWED_PROPERTY_TYPES
elif type(c) in (types.StringType, types.UnicodeType, types.BooleanType,
types.FloatType, types.IntType):
types.FloatType, types.IntType, datetime.date,
datetime.time, datetime.datetime):
continue
else:
raise TypeError(
Expand Down