Sorry, I didn't look closely at your code. You said you added 
auth.navbar(referrer_actions=None) to your db.py file, but that's not where 
it goes. auth.navbar() is a helper that generates HTML, so it goes in a 
view. By default, it is included in layout.html, and if you actually have 
the navbar showing in your UI, then that's probably where it is. So, go 
into your layout.html view and add referrer_actions=None to the 
auth.navbar() that's there.

Anthony

On Friday, November 16, 2012 8:42:31 PM UTC-5, Rob_McC wrote:
>
> Hey Anthony:
>
> Q
> >How does someone arrive at your login page? Is it via the "Login" link 
> generated by the auth.navbar()?
>
> A:
>
> I have tested a few ways... here are my findings
>
> *Method 1*
> - From home page, 
>    
> http://127.0.0.1:8000/AuthRedirect/default/user/login?_next=/AuthRedirect/default/index
>   Click on Login menu, then Login (ie via the "Login" link generated by 
> the auth.navbar() )
>   This takes me to the Login screen with this URL at top:
>   
> http://127.0.0.1:8000/AuthRedirect/default/user/login?_next=/AuthRedirect/default/index
>  
>
> *Method 2*
> - Say I'm on the Login page, and press login again, 
>  (via the "Login" link generated by the auth.navbar())
>
>   This takes me to the Login screen with the URL at top:
>    http://127.0.0.1:8000/AuthRedirect/default/user/login
>
> *Method 3*
> - if I come from CNN.com, and Paste the login URL, it behaves as Method 2 
> above.
>
> ---
> but the good news, is all of these will take me to the PROFILE page, 
> which is what I want.
>
>
> ------
> I hope that answers your questions... the only thing that was throwing me 
> off, is when I saw the  URL:
>    
> http://127.0.0.1:8000/AuthRedirect/default/user/login?_next=/AuthRedirect/default/index
>  
> I didn't expect to be redirected to PROFILE page.
>
>
> Thanks..
>
> Rob
>
>
>

-- 



Reply via email to