Managing users in the admin

When you have both Django.contrib.admin and Django.contrib.auth installed, the admin provides a convenient way to view and manage users, groups, and permissions. Users can be created and deleted like any Django model. Groups can be created, and permissions can be assigned to users or groups. A log of user edits to models made within the admin is also stored and displayed.

Creating users

You should see a link to Users in the Auth section of the main admin index page. If you click this link, you should see the user management screen (Figure 11.1).

Creating users

Figure 11.1: Django admin user management screen

The Add user admin page is ...

Get Mastering Django: Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.