#4923: error in Authentication docs (At this point, user is a User object ready to be saved) -----------------------------------------------+---------------------------- Reporter: [EMAIL PROTECTED] | Owner: jacob Status: new | Component: Documentation Version: SVN | Keywords: authentication Stage: Unreviewed | Has_patch: 0 -----------------------------------------------+---------------------------- In the Authentication documentation under creating users there is some erroneous text: http://www.djangoproject.com/documentation/authentication/#id1 {{{ >>> from django.contrib.auth.models import User >>> user = User.objects.create_user('john', '[EMAIL PROTECTED]', 'johnpassword') # At this point, user is a User object ready to be saved # to the database. You can continue to change its attributes # if you want to change other fields. >>> user.is_staff = True >>> user.save() }}} The fact is, at that point the User object has ALREADY BEEN SAVED. The text implies that this has not yet happened.
-- Ticket URL: <http://code.djangoproject.com/ticket/4923> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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-updates?hl=en -~----------~----~----~----~------~----~------~--~---
