Sorry if I'm a pest... but does anybody out there have any idea how to
do logins? I can write my own newforms login form... no problem. But
how do I hook it up to django's own authentication view in
django.contrib.auth.views? That code seems to use an oldforms
UserAuthentication form, which isn't a form at all, but a validator.

This all seems surprisingly confusing.... and when I try to write my
own form, I get funny, weird behavior; if I login, then logout, and
then login again, the user is actually authenticated again, but the
django.contrib.auth.views.login code (I believe) is redirecting to the
login page an extra time.

Any takers? I found a thing on django snippets for login, but it seems
to be for an older version, and does its own login instead of using
the django contrib.auth login view.

Is it possible to both
1) write my own login form (because no built-in login form exists in
django), and
2) use my form with the built in django login view?

If not, can someone show me how to use the built in login view, if it
can't be used with a custom form?

thanks!
eraoul
--~--~---------~--~----~------------~-------~--~----~
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