minor few fix

This commit is contained in:
ilvalle
2016-06-10 14:14:40 +02:00
parent 3103226686
commit 1f013d76f3
13 changed files with 46 additions and 43 deletions
+2 -1
View File
@@ -2210,7 +2210,8 @@ class FORM(DIV):
next = where to redirect in case of success
any other kwargs will be passed for form.accepts(...)
"""
from gluon import current, redirect
from gluon.globals import current
from gluon.http import redirect
kwargs['request_vars'] = kwargs.get(
'request_vars', current.request.post_vars)
kwargs['session'] = kwargs.get('session', current.session)