Line 2: use_janrain(auth_filename='private/dropbox.key') Line 1 imports use_dropbox, not use_janrain. Should use_janrain in line 2 be:
use_dropbox(auth_filename='private/dropbox.key') instead? Or is use_dropbox imported and then never called? Or should it be use_janrain which is imported? I think the last is unlikely since you're importing from login_methods.dropbox_account. On Sunday, March 22, 2015 at 9:44:42 PM UTC-4, Massimo Di Pierro wrote: > > what's L2? > > I do not what you should do. Do you want to use Dropbox or Janrain? ;-) > > On Sunday, 22 March 2015 00:36:25 UTC-5, Gray Kanarek wrote: >> >> The book has the following instructions for integrating Dropbox: >> >> from gluon.contrib.login_methods.dropbox_account import use_dropbox >> use_janrain(auth,filename='private/dropbox.key') >> mydropbox = auth.settings.login_form >> >> >> Should that be use_dropbox in L2 instead of use_janrain (since you >> imported use_dropbox)? >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

