After the user registers, you should probably redirect him to a login
page that politely says something like:

Thank you for registering.  Log in now to get access to the all the
features of our fantastic site.



On Dec 14, 11:37 pm, Anthony <abasta...@gmail.com> wrote:
> On Wednesday, December 14, 2011 11:24:20 PM UTC-5, ニコノコ wrote:
>
> > hmm ... I tried auth.user.account_status=db.auth_user[auth.user.id
> > ].account_status
>
> > , but I get an error:
> > AttributeError: 'NoneType' object has no attribute 'account_status'
>
> It will only work when there is actually a logged in user, so start with:
>
> if auth.user:
>     etc.

Reply via email to