I have joined here from Drupal. Although Drupal is not the best but
there are many things we should learn from it.
1. Rich documents/tutorial
2. Forum
3. Groups
4. Project/Issue tracking
I think we should move this group to web2py offical website, we can
use other compoments for missing as Redmi
Hi,
After tracking my website at GAE that using Web2Py, i see it takes
about 650 cpu_ms to serve every request.
241ms 721cpu_ms 537api_cpu_ms 2kb
Is there any way to reduce loading time of web2py?
P/S: The first time, it takes > 2000ms to load.
Thanks
Nguyen
--~--~-~--~~-
You can use user class from google
from google.appengine.api import users
user = users.get_current_user()
if user:
#user.email()
else:
#redirect to login: users.create_login_url()
Hope this help
On Mar 20, 6:56 am, Tito Garrido wrote:
> Is there a way to use Google Authentication + web2py on
Thanks for your patch. I got it run on GAE :).
Maybe, the laster version updated this but not update app.yaml file
On Mar 17, 2:29 pm, Markus Gritsch wrote:
> On Tue, Mar 17, 2009 at 8:25 AM, Markus Gritsch wrote:
> > On Tue, Mar 17, 2009 at 7:58 AM, NguyendHEX wrote:
>
> >
It works but we need update app.yaml file to handle static and
gaehandler.py
On Feb 26, 9:34 pm, Markus Gritsch wrote:
> On Thu, Feb 26, 2009 at 2:48 PM, mdipierro wrote:
>
> > I only see one modification. Could you email me the patch?
>
> The second modification is adding the empty __init__.py
>
> On Mar 16, 2:09 pm, NguyendHEX wrote:
>
>
>
> > Hi,
>
> > I am mapping an url with a controller/function in Web2py but i have no
> > way to get url that user surfed. request.env.path_info always returns
> > path of controller/function.
>
> > How can
Hi,
I am mapping an url with a controller/function in Web2py but i have no
way to get url that user surfed. request.env.path_info always returns
path of controller/function.
How can i get url (alias) that user enter at IE address bar to browse
the web?
Thanks,
Nguyen
--~--~-~--~~--
Thanks Francisco and Massimo.
I manually hash passwords by SHA1 because i am converting a working
website from .NET into web2py.
On Mar 14, 10:37 pm, mdipierro wrote:
> Uploading to trunk now. Thanks Francisco.
>
> On Mar 14, 8:49 am, Francisco Gama wrote:
>
>
>
> > Here is the list of the cur
CRYPT validator works with MD5 only, it is great if CRYPT validator
has a option to support SHA1 (or other) instead only one MD5 hash.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To p
thanks,
how about change '_' to '-' in routes_out?
On Mar 11, 11:17 am, mdipierro wrote:
> all spaces and dashes are automatically mapped into _ so there is
> nothing you need to do.
>
> On Mar 10, 9:52 pm, NguyendHEX wrote:
>
>
>
> > Regar
en it starts up: it's looking for routes.py
> but says
>
> WARNING:root:URL rewrite is on. configuration in route.py
>
> when it should be routes.py Looking through the source code in /
> gluon it's clearly looking for routes.py so it's not a bug.
>
> On Mar
ah, yes, i usually restart web2py every time i change routes.py ;)
On Mar 11, 12:36 am, Michael Wales wrote:
> Server restart! I'm not sure if this is documented somewhere but I
> never did find it. Restarted my service and all is working perfectly
> fine (speaking of which, the dashes work fine
by the way, how i can map /app/controller/fun_ction => /app/controller/
fun-ction
it is good for SEO ;)
On Mar 10, 10:27 pm, mdipierro wrote:
> I think the problem is that web2py does not '-' in URL and replaces
> them with '_'. the replacement should happen after the URL mapping and
> before y
e default must be of the same type as the field. You cannot insert a
> date into an integer
>
> On Mar 10, 9:59 am, NguyendHEX wrote:
>
>
>
> > Yes, i just change datetime field into integer. It works file at GAE.
>
> > FROM => SQLField('timestamp',
, mdipierro wrote:
> I think somewhere you have wrong default for a datetime field, for
> example you are passing date field to a datetime field.
>
> On Mar 10, 4:58 am, NguyendHEX wrote:
>
>
>
> > I see errors both at locally GAE and online GAE. I see there is not
> &
ion.authorized is transparent to web2py. It is a variable as any
> > other variable.
> > You need a line like
>
> > if not session.authorized: redirect(URL(r=request,f='not_authorized'))
>
> > On Mar 8, 7:21 am, NguyendHEX wrote:
> > > I need more
ine SDK? Is this where you
> are seeing the problem?http://code.google.com/appengine/downloads.html
>
>
>
> On Tue, Mar 10, 2009 at 1:43 AM, NguyendHEX wrote:
>
> > Thank Yarko,
>
> > I meet error only when uploading the app into Google App Engine.
> > web2py
...
>
> if you repeat, but make a mistake (put a leading space or two), like this:
>
> db.define_table('test2', SQLField('name'))
>
> You will get no error, and no table.
>
> Check that you do not have an error first. Try to enter by hand from the
> web2py
My db.py has 10 tables but the app did not create all table for me
when i update into GAE (even local development of GAE).
Please tell me how to manual create missing tables.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I need more infor about Session management by web2py core. Of course,
i can track user session at application level but if i have more than
one controller, i have manually update session at every controller by
setting last request.
1) assuming you use session.authorized to determine whether the
u
I see the session processing at
http://groups.google.com/group/web2py/browse_thread/thread/14ec13e619fff190/d1799abb37d7d331?lnk=gst&q=session#d1799abb37d7d331
I don't know when session is cleared by web2py if the application
clear it manually.
--~--~-~--~~~---~--~
Thanks for the links :)
On Mar 1, 10:24 pm, mdipierro wrote:
> I will make the link more prominent.
>
> On Mar 1, 9:12 am, Markus Gritsch wrote:
>
>
>
> > On Sun, Mar 1, 2009 at 4:08 PM, mdipierro wrote:
>
> > > It seems with the new page more and more people are missing the
> > > examples
>
>
t;id" for every table.
> You don't need to create, just use it:
>
> 2009/3/1 NguyendHEX
>
>
>
> > Hello,
>
> > I need to define an auto increasing field in a table but i did not see
> > any document or example use it. Please tell me to de
Hello,
I need to define an auto increasing field in a table but i did not see
any document or example use it. Please tell me to define an auto-
increasing integer field.
Thanks,
Nguyen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
If possible, please create a release notes page the web2py's website.
I could not find it online.
Thks,
Nguyen
On Feb 23, 11:07 pm, mdipierro wrote:
> Many bug fixes in tools in tools and typos in the docs.
--~--~-~--~~~---~--~~
You received this message becaus
25 matches
Mail list logo