def add_user_memberhip():
if auth.settings.register_onaccept==True:
group_id = request.vars.account_type
user_id = request.vars.username
auth.add_membership(group_id,user_id)
response.flash="You have been added to"+group_id
else:
response.flash='An E
Hai Dave,
I ran your code and checked the field 'traceback' in the table
'scheduler_run' for the failing task. I found:
Traceback (most recent call last):
> File "/Users/ncdegroot/web2py/gluon/scheduler.py", line 315, in executor
> result = dumps(_function(*args, **vars))
> File "applicat
Correction:
Hi Vid,
--
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-us
hey one and all,
i'm reading chapter 10 in the book and it doesn't make sense and i don't
know how to structure my code to fit the framework. it is confusing.
so how about, if i explain what i'm trying to do and you'll tell me if i'm
crazy or direct me to a direction.
i have a form that allow
The request.args object has a handy callable interface that allows
specification of default value, type to coerce to, etc. As far as I can
tell, the request.vars object has no such interface. Is this right? Why
is this? What can I do if I want to access various vars that may or may
not be p
Hi Anthony,
I thought I would try this, but getting the following error:
(global name 'selected_true_callback' is not
defined)
It would be great if you could explain what I am doing wrong
thanks
Anthony
On Thursday, 27 October 2016 03:20:30 UTC+11, Anthony wrote:
>
> Note, the "searchable" ar
6 matches
Mail list logo