On Fri, Jul 13, 2012 at 4:32 AM, Anthony <[email protected]> wrote:
>> Hmm, I added that line (`auth.navbar(referrer_actions=['register',
>> 'profile', 'login'])`) below `auth.settings.login_next =
>> URL(f='profile')` in db.py, and it changed the way the problem occurs.
>
>
> No, you don't want 'login' to be one of the referrer_actions -- that will
> cause it to redirect to the referring page rather than the
> auth.settings.login_next URL.
>
> Anthony

Okay, I tried with `auth.navbar(referrer_actions='profile')` and
`auth.navbar(referrer_actions=['profile'])` and a few other
permutations of what to put in that list, but all it's doing is
redirecting me to: "http://localhost/#_=_";

(Specifically to "brian.com/#_=_" with brian.com being set to
127.0.0.1 in /etc/hosts)

Maybe I've put the line in the wrong part of my db.py. Here is my
db.py: http://pastebin.com/huuTN0TF

(Line 104 is where the line is)

-- 



Reply via email to