From b093bb2f745b9ad819e70eedd770a0420b33eac6 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Sun, 26 Feb 2012 15:42:25 -0600 Subject: [PATCH] fixed gae dal bug with references, thanks howesc --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)