Is there any reason you have a extra comma in the __init__ method? def __init__(self, db*,*):
On Wed, Feb 29, 2012 at 3:14 AM, Johann Spies <johann.sp...@gmail.com>wrote: > On 29 February 2012 12:05, Bruno Rocha <rochacbr...@gmail.com> wrote: > >> where the akb_signature_uuid is defined? >> >> in a model or module >> > > model > >> from gluon import current >> current.akb_signature_uuid = akb_signature_uuid = something >> > In the model I have > > from gluon import current > current.db = db > current.akb_signature_uuid = akb_signature_uuid > > > > then in appadmin >> >> from gluon import current >> >> does not works¿ >> > No not even after adding > > akb_signature_uuid = current.akb_signature_uuid in 'get_databases(request)' > > > Regards > Johann > -- > Because experiencing your loyal love is better than life itself, > my lips will praise you. (Psalm 63:3) > > -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com