Re: [web2py] Re: help: different auth page

2011-10-01 Thread Julie Bouillon
On 10/02/2011 12:21 AM, pbreit wrote: Can you branch in the user() function? def user(): if request.function=='login' and user_is_special: redirect('special_login') Or it might be easier to do it in the view: {{if user_is_special:}} {{=form.custom.begin}} ... {{=form.cu

Re: [web2py] Re: help: different auth page

2011-10-02 Thread Julie Bouillon
On 10/02/2011 06:53 AM, Massimo Di Pierro wrote: How do you know if a user that has not yet logged is special or not? Can you provide an example? On Oct 1, 1:22 pm, "julie.bouil...@yedia.com" wrote: Hi, Is it possible to define different auth page for the same application ? I mean having an

[web2py] Re: help: different auth page

2011-10-02 Thread Julie Bouillon
ion.last_action = request.function > > controller A > @auth.requires_login()      --> send to a view user.html specific for > controller A > def myfunctionA(): >      return dict() > controller B > @auth.requires.login()      --> send to the default view user.ht

Re: [web2py] Re: How to leverage web2py popularity and usage?

2013-09-09 Thread Julie Bouillon
If there's enough enough bloggers out there writing about web2py, I'll be happy to put a "planet web2py" in place. Just let me know if there's an interest for that. Julie On 09/07/2013 06:01 PM, Massimo Di Pierro wrote: > yes the number time distance between releases has increased, mostly > becau

Re: [web2py] Re: How to leverage web2py popularity and usage?

2013-09-10 Thread Julie Bouillon
No need to reinvent the wheel ;-) Maybe just "reactivate" this one... On 09/09/2013 10:21 PM, Anthony wrote: > There was one: http://www.web2py.com.ar/planet/. Looks like it's > returning an error ticket now. > > Anthony > > On Monday, September 9, 2013 12:39: