[web2py] [login_method] This code is right?

2012-03-08 Thread sungchi
I want to separation of the default login and google login. *models/db.py:* from gluon.contrib.login_methods.gae_google_account import GaeGoogleAccount *view/default/googlelogin.html:* {{=form}} *controller/default.py* def login(): if auth.user_id: redirect(session.old_referer) l

[web2py] Re: web2py + twitter bootstrap 2.0

2012-02-05 Thread sungchi
Thank you for your advice. On 2월5일, 오후11시57분, Massimo Di Pierro wrote: > You you be able to add a README to the github page with a screenshot > and a link to feed9? > > On Feb 5, 4:52 am, sungchi wrote: > > > > > > > > > service like reddit(korean) :

[web2py] Re: web2py + twitter bootstrap 2.0

2012-02-05 Thread sungchi
w, smarter navigation components New buttons, button groups, and button dropdowns New, simpler alert messages New javascript plug-ins like carousel, collapse, and typeahead http://twitter.github.com/bootstrap/ On 2월5일, 오후7시52분, sungchi wrote: > service like reddit(korean) :http://www.feed9.com/ &g

[web2py] web2py + twitter bootstrap 2.0

2012-02-05 Thread sungchi
service like reddit(korean) : http://www.feed9.com/ source : https://github.com/sungchi/feed9 Thank you web2py, Thank you twitter !

[web2py] my gae+web2py app: feed9 (like reddit)

2012-01-20 Thread sungchi
source: https://github.com/sungchi/feed9 link: http://www.feed9.com/ (korean) based reddish source (now RedditClone : https://github.com/mdipierro/web2py-appliances/tree/master/RedditClone ) UI : http://twitter.github.com/bootstrap/ Well .. Just think like Reddit Thank you

[web2py] Re: db filter with orderby argument ERROR

2011-12-31 Thread sungchi
Thanks, Jonathan! It works. On 1월1일, 오후1시11분, Jonathan Lundell wrote: > On Dec 31, 2011, at 7:41 PM, sungchi wrote: > > > As an alternative, > > > news=db(db.news.post_time>(now-2592000.0)).select()if > > sort=='hot': news=news.sort(lambda row:

[web2py] Re: db filter with orderby argument ERROR

2011-12-31 Thread sungchi
has occurred. (hotness filed is 'double') TypeError: bad operand type for unary ~: 'float' On 1월1일, 오후12시17분, Jonathan Lundell wrote: > On Dec 31, 2011, at 5:17 PM, sungchi wrote: > > > If I do that "limitby" range is only in the sort. > > I want t

[web2py] Re: db filter with orderby argument ERROR

2011-12-31 Thread sungchi
If I do that "limitby" range is only in the sort. I want to sort on the entire range. On 1월1일, 오전9시17분, Jonathan Lundell wrote: > On Dec 31, 2011, at 4:07 PM, sungchi wrote: > > > Thanks Jonathan! > > > But, sort() function When using the "limitby"

[web2py] Re: db filter with orderby argument ERROR

2011-12-31 Thread sungchi
Thanks Jonathan! But, sort() function When using the "limitby" using the "pagination" to be harder. On 1월1일, 오전2시11분, Jonathan Lundell wrote: > On Dec 31, 2011, at 8:46 AM, sungchi wrote: > > > > > > > > > > > now=time.time() > >

[web2py] db filter with orderby argument ERROR

2011-12-31 Thread sungchi
/datastore.py", line 1398, in Order (orderings[0][0], self.__inequality_prop)) BadArgumentError: First ordering property must be the same as inequality filter property, if specified for this query; received score, expected post_time what's wrong? why not post_time filter with orderby argument? happy new year~! Sungchi