Author: adrian
Date: 2008-12-25 00:19:14 -0600 (Thu, 25 Dec 2008)
New Revision: 9684

Modified:
   django/trunk/docs/topics/auth.txt
Log:
Added some documentation explaining (1) that it's possible to add users via the 
Django admin site, and (2) that in order to be able to add users via the admin 
site, you need to have both 'add user' and 'change user' permissions. Refs #9866

Modified: django/trunk/docs/topics/auth.txt
===================================================================
--- django/trunk/docs/topics/auth.txt   2008-12-25 06:17:42 UTC (rev 9683)
+++ django/trunk/docs/topics/auth.txt   2008-12-25 06:19:14 UTC (rev 9684)
@@ -292,6 +292,21 @@
     >>> user.is_staff = True
     >>> user.save()
 
+You can also create users using the Django admin site. Assuming you've enabled
+the admin site and hooked it to the URL ``/admin/``, the "Add user" page is at
+``/admin/auth/user/add/``. You should also see a link to "Users" in the "Auth"
+section of the main admin index page. The "Add user" admin page is different
+than standard admin pages in that it requires you to choose a username and
+password before allowing you to edit the rest of the user's fields.
+
+Also note: if you want your own user account to be able to create users using
+the Django admin site, you'll need to give yourself permission to add users
+*and* change users (i.e., the "Add user" and "Change user" permissions). If
+your account has permission to add users but not to change them, you won't be
+able to add users. Why? Because if you have permission to add users, you have
+the power to create superusers, which can then, in turn, change other users. So
+Django requires add *and* change permissions as a slight security measure.
+
 Changing passwords
 ~~~~~~~~~~~~~~~~~~
 


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

Reply via email to