You're right! I probably copied the piece of code from something else I
wrote. Thanks.
On Tuesday, August 13, 2013 2:54:49 PM UTC+2, Anthony wrote:
>
>
> def add_group_and_permissions(form):
>>
>> group_id = auth.id_group(role=request.args(0, cast=int))
>>
>
> If registration was working previously, you must have made at least one
> other change -- above, you attempt to cast request.args(0) to an int, even
> though it is a string ("seafarer" or "company"). This raises a 404 error.
>
> Anthony
>
--
---
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/groups/opt_out.