True.  But that would be bad practice (especially for a production 
environment) and reload() is going away in Python 3.

mdipierro wrote:
> Note that you can force module reload with the reload command.
>
> Massimo
>
> On Oct 8, 9:42 am, Timothy Farrell <[EMAIL PROTECTED]> wrote:
>   
>> One reason, although not security related, is that modules are cached in
>> Python so anything you import will only be read once.  So if you edit a
>> module, you must restart web2py in order for the changes to be
>> recognized.  At least this is the case with the Windows Service form of
>> web2py.  Naturally, the admin interface does not have a Restart Server
>> button.  I'm with Phyo on this one.  I use ssh for my linux server and
>> Remote desktop for my windows server to access the admin interface.
>>
>> seeker wrote:
>>     
>>> Why would editing modules be a less good idea than editing a
>>> controller?
>>>       
>>> I am aware that there may be some security implications with enabling
>>> Admin, but if one is able (and have taken the risk) to edit models,
>>> controllers etc via Admin then the same should be true for modules;
>>> else it kind of defeats the purpose of having the admin facility if
>>> only some portions of your applications can be edited this way.
>>>       
>>
>>  tfarrell.vcf
>> < 1KViewDownload
>>     
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Timothy Farrell
n:Farrell;Timothy
org:Statewide General Insurance Agency;IT
adr:;;4501 East 31st Street;Tulsa;OK;74135;US
email;internet:[EMAIL PROTECTED]
title:Computer Guy
tel;work:(918)492-1446
url:www.swgen.com
version:2.1
end:vcard

Reply via email to