On 28-03-12 11:17, Alexey Kinyov wrote:
Yes: You have to call user.save() after creating it. Otherwise the user
> object exists, but it isn't saved to the database yet.
That' wrong.
Documentation says:
create_user(username, email=None, password=None)
Creates, saves and returns a User.
You're right, I was wrong :-) I overlooked that create_user is a
special call and thought it was just a generic create statement.
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
[email protected] http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
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.