[web2py:17977] Re: The web2py wiki is now ready for your input!

2009-03-13 Thread maplye
there is error when i use google chrome brower.. 2009/3/13 DenesL : > > By that I mean I can see the index with the [+]s but the links are a > bunch of numbers, letters and dashes. > So which one is '/docs/examples' or '/docs/howto' ? > > > --~--~-~--~~~---~--~~ Y

[web2py:17766] Re: suggest auth profile add fields paramter

2009-03-09 Thread maplye
that's done 2009/3/9 mdipierro : > > At the top of the controller > > db.table.field.writable=False > > On Mar 9, 9:21 am, maplye wrote: >> there is a field i want show in the appadmin,but not show in the >> auth/profi

[web2py:17739] suggest auth profile add fields paramter

2009-03-09 Thread maplye
there is a field i want show in the appadmin,but not show in the auth/profile. writable=False? how? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to

[web2py:17453] auth change_password label can't customize

2009-03-03 Thread maplye
like auth.messages.*** can customize. but change_password form label 'Old password','New password' is fixed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send e

[web2py:17430] Re: TypeError: not all arguments converted during string formatting about groupby

2009-03-03 Thread maplye
yes! that's ok! 2009/3/3 mdipierro : > > What is the error. I think it should be > > groupby=db.auth_user.first_name|db.meal_orders.meal_user > > not > > groupby=(db.auth_user.first_name,db.meal_orders.meal_user) > > Please give it a try. > > On Mar 3, 8:

[web2py:17408] TypeError: not all arguments converted during string formatting about groupby

2009-03-03 Thread maplye
the error happen when the groupby have two field db(db.meal_orders.createdate.year()==2009)\ (db.auth_user.id==db.meal_orders.meal_user)\ .select(db.auth_user.first_name,db.meal_orders.money.sum(),groupby=(db.auth_user.first_name,db.meal_orders.meal_user)) why? --~--~--

[web2py:17379] auth need add has_membership_by_groupname

2009-03-03 Thread maplye
the auth tool have has_membership(groupid) function. but the groupid is variational. I am unable in the view page to use when i only know groupname. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewo

[web2py:17372] Re: boolean type error at postgresql

2009-03-02 Thread maplye
sorry, blobean->boolean 2009/3/3 maplye : > SQLField('is_active','blobean',default=True), > error: > SyntaxError: SQLField: unkown field type > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[web2py:17370] boolean type error at postgresql

2009-03-02 Thread maplye
SQLField('is_active','blobean',default=True), error: SyntaxError: SQLField: unkown field type --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@

[web2py:17367] bool field can't show in the sqlform?

2009-03-02 Thread maplye
i have a field: SQLField('is_active','blob',default=True), but I do not look at this field on the page. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email

[web2py:17296] Re: how to add custom field in the authentication

2009-03-01 Thread maplye
i got it. if 'username' in user.fields: username = 'username' else: username = 'email' thanks too. 2009/3/2 maplye > thanks Francisco Gama * > * > *and how to login with username not email? > * > 2009/3/2 Francisco Gama > > >

[web2py:17294] Re: how to add custom field in the authentication

2009-03-01 Thread maplye
thanks Francisco Gama* * *and how to login with username not email? * 2009/3/2 Francisco Gama > > Here is one example on how you can do it (in line 18...): > > http://groups.google.com/group/web2py/attach/e27cf6d6dd2c521c/auth.py?part=4&view=1 > > On Mar 2, 4:57 am, 姚国荣 wrote: > > > > > --~--~-