>
>     id_user = (auth.user and auth.user.id) or None

Also, note that the above is simply equivalent to auth.user_id (i.e., its 
value is None if there is no auth.user).

Anthony

-- 



Reply via email to