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
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) :
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
service like reddit(korean) : http://www.feed9.com/
source : https://github.com/sungchi/feed9
Thank you web2py,
Thank you twitter !
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
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:
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
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"
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()
> >
/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
10 matches
Mail list logo