Try normalizing the dbcore String type
Strings were not being normalized, unlike some other types, leading to
downstream problems like
@@ -207,6 +207,12 @@ class String(Type):
sql = u'TEXT'
query = query.SubstringQuery
+ def normalize(self, value):
+ if value is None:
+ return self.model_type()
+ else:
+ return self.model_type(value)
+
class Boolean(Type):
"""A boolean type.
