On Wednesday, December 26, 2018 at 2:11:22 PM UTC-8, Vlad wrote:
>
> Jim, do you mean this for any model (vs control or view), or it's 
> specificially db.py something having global presence? 
>

All the model files have global presence.  It's common (thanks to the 
welcome app sample) to use db.py for application configuration (the 
AppConfig stuff using private/appconfig.ini), and somewhat common to move 
the application-specfic tables into their own file.  But they all are 
global.

/dps


> On Wed, Dec 26, 2018, 5:00 PM Jim S <[email protected] <javascript:> 
> wrote:
>
>> Can you move the part where you set all the auth/mail settings into 
>> db.py?  Then they'll be available anywhere in your app.
>>
>> -Jim
>>
>> On Wednesday, December 26, 2018 at 3:55:27 PM UTC-6, Vlad wrote:
>>>
>>> Oh, I have no clue what this even means :)
>>>
>>> By any chance, how would I figure out if this thing is running in the 
>>> background? I used all default settings and followed Massimo's tutorial, so 
>>> haven't done anything custom. 
>>>
>>> On Wed, Dec 26, 2018, 4:53 PM 黄祥 <[email protected] wrote:
>>>
>>>> somehow the system resets the settings back to the defaults. 
>>>>> I don't understand though why in the world I have to set all those 
>>>>> settings up every time - why the system doesn't keep those settings if I 
>>>>> call it just once.
>>>>>
>>>>
>>>> perhaps you had configuration management installed and running in 
>>>> background, so that make the system reset the settings back to default.
>>>>
>>>> best regards,
>>>> stifan
>>>>
>>>> -- 
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to