I think "self['_last_reference'] = tmp" is missing from insert() in
the dal.py:

Here is my suggested patch:

   def insert(self,table,fields):
        dfields=dict((f.name,self.represent(v,f.type)) for f,v in
fields)
        # table._db['_lastsql'] = self._insert(table,fields)
        tmp = table._tableobj(**dfields)
        tmp.put()
        self['_last_reference'] = tmp # from June 27/2010 mod in the
trunk
        rid = Reference(tmp.key().id())
        (rid._table, rid._record) = (table, None)
        return rid

On Feb 3, 11:03 am, VP <[email protected]> wrote:
> Another possible feature I hope to see in this or upcoming releases is
> an official support for the admin app to have different users
> (different users will  be able view and edit only their apps). In
> previous discussions, I think you implemented this in trunk.  I hope
> this feature becomes official.
>
> Thanks.

Reply via email to