Thanks Anthony.
The books seems to be not up-to-date:
TypeError: __init__() got multiple values for keyword argument 'signals'
I will try the slice 124, but it looks old too.
Best Regards,
Thomas
On Thu, Dec 29, 2011 at 11:53 PM, Anthony abasta...@gmail.com wrote:
See Multiple login
Another problem with the slices:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Traceback (most recent call last):
File
/windows/Users/Thomas/Dropbox/appz/2011/dotcloud_web2py/gluon/restricted.py,
line 204, in restricted
exec ccode in environment
File
It works if we remove the first parameter (request) in the
ExtendedLoginForm:
auth.settings.login_form = ExtendedLoginForm(auth, other_form,
signals=['token'])
See Multiple login forms at the end of this
section:
http://web2py.com/books/default/chapter/29/9#Other-login-methods-and-login-forms.
There's also:
http://www.web2pyslices.com/slices/take_slice/124
http://www.web2pyslices.com/slices/take_slice/28
Anthony
On Thursday, December 29, 2011
4 matches
Mail list logo