Trey напиша:

> I am trying to create a change password form, the unique thing about a
> change password form is that you have to be logged in and do a lookup
> to wherever you're storing users.

> My question is: How can I get the userId out of the session for the
> logged in user to attempt to validate if the old password was correct?
> Am I missing something completely?

You could pass a User object to the form.

Here is an example.
http://www.djangosnippets.org/snippets/158/

-- 
Glisha
The perfect OS, MS-DOS!
No patches, no root exploits for 21 years.

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