On 10 June 2011 01:26, Yohanes Adhi Nugraha <[email protected]> wrote:

>
> Not that one, if we use django.contrib.auth and @login_required,  it's
> only redirects you to login page.
> What I saw from another site is, browser will popup an alert with
> username and password to be filled.
>
>

View source is your friend. Have a look at the other site and figure out how
they do it.

My guess is that they will have an unauthenticated page with some JS on it
that tries to make an authenticated call, catches any return error and
prompts for login.

Malcolm

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to