Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-19 Thread Donald McClymont
Had a look at this and seems far better way to go as pygraphviz was beyond me to install on windows. I've been using d3 for some other things with web2py and some degree of interactivity with the graph eg creating new nodes and saving the layout as force directed typically gives you a good sta

[web2py] Re: Custom html email on auth.settings.registration_requires_verification = True

2016-11-19 Thread 黄祥
perhaps you can use response.render in there e.g. auth.messages.verify_email = response.render('templates/mail/test.html', dict(username = username, link = link) ) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web

[web2py] Re: What is the problem with mu code

2016-11-19 Thread Massimo Di Pierro
auth.settings.register_onaccept.append(lambda form: auth.add_membership(user_id=form.vars.id, group_id = group_id1) and auth.add_membership(user_id=form.vars.id, group_id = group_id2)) instead of group_id = ... you can specify the name of the group role = 'groupname' On Saturday, 19 November 2

[web2py] Re: 50x performance improvement for web2py in TechEmpower Web Framework Benchmarks

2016-11-19 Thread Massimo Di Pierro
Fantastic! Thank you Anthony, Michele, Simone, Richard, Paolo, Giovanni and everybody who made this happen! On Thursday, 17 November 2016 19:17:48 UTC-6, Anthony wrote: > > TechEmpower just released Round 13 of its Web Framework Benchmarks. In > previous rounds, web2py did very poorly because th

[web2py] Re: Is web2py dying?

2016-11-19 Thread Massimo Di Pierro
We used to have very frequently releases. The next push will have many changes including hopefully python 3 support. So we need to throughly test it. On Thursday, 17 November 2016 14:08:28 UTC-6, Anthony wrote: > > Although official releases have slowed a bit, if you look at the commit > histor

[web2py] Re: Custom html email on auth.settings.registration_requires_verification = True

2016-11-19 Thread Leonel Câmara
set it in auth.messages.verify_email This is the default value verify_email='Welcome %(username)s! Click on the link %(link)s to verify your email' Just put html in there -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

[web2py] Re: What is the problem with mu code

2016-11-19 Thread Joe Lwe
Hi Pierro, I have defined custom groups in db(buyer,seller, individual, non-individual), i want all users who sign up to belong to one or two of the groups that have been defined. My sign up form is as below/attached Thank you so much for the web2py project and your help On Friday, November

[web2py] Custom html email on auth.settings.registration_requires_verification = True

2016-11-19 Thread António Ramos
Hello can i change the email sent on auth.settings.registration_requires_verification = True to an HTML email? Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Re