diff --git a/VERSION b/VERSION index 830f4bf6..744164b7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-02-26 15:40:29) stable +Version 1.99.4 (2012-02-26 15:42:22) stable diff --git a/gluon/dal.py b/gluon/dal.py index 53b37866..5e2a9819 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -3357,7 +3357,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter): if field.notnull: attr = dict(required=True) 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'): if field.notnull: attr = dict(required=True)