fixed gae dal bug with references, thanks howesc
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.4 (2012-02-26 15:40:29) stable
|
Version 1.99.4 (2012-02-26 15:42:22) stable
|
||||||
|
|||||||
+1
-1
@@ -3357,7 +3357,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
|
|||||||
if field.notnull:
|
if field.notnull:
|
||||||
attr = dict(required=True)
|
attr = dict(required=True)
|
||||||
referenced = field.type[10:].strip()
|
referenced = field.type[10:].strip()
|
||||||
ftype = self.types[field.type[:9]](table._db[referenced])
|
ftype = self.types[field.type[:9]](referenced)
|
||||||
elif field.type.startswith('list:reference'):
|
elif field.type.startswith('list:reference'):
|
||||||
if field.notnull:
|
if field.notnull:
|
||||||
attr = dict(required=True)
|
attr = dict(required=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user