Putting in return dict() made it work. Thanks.

What exactly does that do? Where does it get sent to?

On Sat, Mar 10, 2012 at 4:53 PM, Alan Etkin <spame...@gmail.com> wrote:

> It appears that your controller sent a None object response. For using
> the view's template, the return statement of the function should
> return a dict object:
>
> def mycontroller():
>    ...
>    return dict(name=value)
>
> On Mar 10, 7:28 pm, george3825 <georgejek...@gmail.com> wrote:
> > Hello,
> >
> > I edited the following setting in tools.py in gluon:
> >
> > From: auth.settings.login_next = URL('index')
> >
> > To: auth.settings.login_next = URL('account')
> >
> > Saved the file and restarted Apache2
> >
> > I am able to successfully log in it does take me tohttp://
> www.site.com/Main/default/account
> >
> > But all the account site displays is a white page with the word "None"
> >
> > It doesn't even display my layout.
> >
> > Any ideas?
> >
> > Thanks.
>

Reply via email to