On Oct 29, 10:26 pm, akonsu <ako...@gmail.com> wrote:
> hello,
>
> i have discovered web2py just yesturday. so i am completely new,
> please forgive my ignorance. (currently i am using django but i am
> almost convinced now that i need to switch to web2py :) but one thing
> that bothers me so far is that after i installed web2py on my
> webfaction share it seems to take longer time to respond compared to
> my django application...but maybe this is just my isp.)

If you have both web2py and django installed locally, and you have
similar apps to compare apples with apples, you can run benchmarks
with the "ab" command. I would be interested in the results. Make sure
to hit "compile" before you benchmark web2py.

> my question: the default welcome application that ships with web2py
> has a link to the admin interface:
>
> _href=URL('admin','default','index'))
>
> the problem is that if the application is run over http connection,
> the admin link will also use http. is there a way to generate a full
> url pointing to a particular controller's function?

Yes you can. read the routes.examples.py file.

You should not expose the administrative interface via http. It is
dangerous. web2py will prevent that from happening and require a
secure connection, unless you are using a proxy.

> thanks
> konstantin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to