>
> based on advice on the group long ago i am using a pattern like this:
>
> in db.py:
>
>    current.myapp = Storage()
>    current.myapp.db = db #after db is inited
>

If that works, then current.db should work as well, no (I understand the 
idea behind putting everything app-specific in current.myapp to avoid 
possible future namespace conflicts, I'm just saying in theory current.db 
should work, shouldn't it)?

Anthony

Reply via email to