>
> You can do in the way anthony said, but you can do it all in models, no
>> need to touch controller code.
>
>
> Note, I did suggest moving it to a model file to avoid unnecessarily
> executing all the models.
>

The redirect in:
if not any(has_membership):
    redirect(URL(r=request, c='default', f='index'))

will not break the execution of models?

-- 



Reply via email to