My trick is this. Create an auth_user field like profile_completed which
default to false. Then add somewhere in models:
if auth.user and not auth.user.filled_profile:
redirect(URL('default','user/profile'))
On Wednesday, 16 December 2015 04:34:46 UTC-6, [email protected] wrote:
>
> For example, their profile pic have to be posted they sign up. But they
> are forced to fill everything in the beginning only. How to make them fill
> certain fields only in the beginning?
>
--
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-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/d/optout.