Maybe a old mistake of I miss understanding the doc... :

-M, --import_models   auto import model files; default is False; should be
                        used with --shell option



Richard



On Fri, Nov 1, 2013 at 11:56 AM, Massimo Di Pierro <
[email protected]> wrote:

> That's a shell bug. Please open a ticket so I do not forget to fix it.
> What does "auto" stand for?
>
>
> On Friday, 1 November 2013 10:09:56 UTC-5, Richard wrote:
>>
>> Hello,
>>
>> If start web2py from command line with this command :
>>
>> python web2py.py -a 'asdf' -i 127.0.0.1 -p 8001 -S myapp -M auto
>>
>> I am expecting that "request.env.http_host" to return :
>>
>> 127.0.0.1:8001
>>
>> But I always get 8000, is something wrong with my command?
>>
>> I also try :
>>
>> python web2py.py -a 'asdf' -i 127.0.0.1:8001 -S myapp -M auto
>>
>> And it's the same.
>>
>> I use web2py 2.4.7 and I try with 2.4.6 and it's the same.
>>
>> Thanks
>>
>> Richard
>>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to