Error in factories.py in py4web?

37 views
Skip to first unread message

Luca

unread,
Feb 13, 2020, 6:09:03 PM2/13/20
to web2py-users
In the class ActionFactory, there's the code below.  Is that an error?  I don't think requires_login is in the proper place?  Maybe I don't understand.

def put(self, path=None, template=None):
return self._action_maker('PUT', template, requires_login)

Massimo Di Pierro

unread,
Feb 15, 2020, 6:27:28 AM2/15/20
to web2py-users
A mistake. Thanks for fixing it. :-)
Reply all
Reply to author
Forward
0 new messages