request.user.save() doesnt work
Hi guys. Am using django non-rel on appengine. I am using django's
auth backend for my authentication, since I did not want to have to
force my users to use gmail logins, and appengine models
{google.appengine.ext.db} for the other models. I have a form where I
allow users to edit their email. So :
if settings_form.is_valid() :
user = request.user
user.email = request.POST['email']
user.save()
print request.POST['email'] returns the correct data entered in the
form. But user.save() just doesnt save!
Am I doing it correctly ? Is there something else I shopuld be doing ?
--
Regards,
Guy-at-the-end-of-the-tether :-)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home