Hi,

For every page login form, check:
http://brehaut.net/blog/2006/08/21/django-user-logins/

No need to use the login view. Use the authenticate function instead.

Hope it helps,

G

On 12/4/06, Milan Andric <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm having the same problem as this thread:
> http://groups-beta.google.com/group/django-users/browse_thread/thread/b711b5c4579535c8/
>
> Where to call set_test_cookie?  Since a POST to authenticate can come
> from any page, I need to call set_test_cookie on any page.  I'm using
> the django.contrib.auth.views.login, a pretty basic login setup.
>
> Where is the appropriate place for this or is there a better way?  I
> figure I could stick it in one of my context processor functions but
> want to avoid the hack if possible.
>
> Thanks for your tips,
>
> --
> Milan
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
 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