Admin Pages
When you’ve added a user as staff or a superuser, he or she can access the
admin views at /admin
. By default, a regular or non-authenticated user cannot view the admin pages.
To view the admin pages, you’ll first need to add the admin user to the
database from the command line. Since this is deployed on App Engine,
this typically needs to be done by the developer.
$ python manage.py createsuperuser
$ python manage.py add_superuser myusernamejustadded
And then login in to the admin home:
This is where you can add new groups, and update user metadata. This is also where you would add a new user, and also associate them to a group.
1. Adding a User
When you browse to the /admin
url (and there is also a link to it in your
user profile) you first want to make sure that the Center for the user
exists. If it doesn’t, click the green ➕️ symbol under Users -> Center to add it
first. Then when you are ready, click the green ➕️ under Users -> Users.
You’ll be taken to a list of users, and then you can click “Add User”
to add a new one. You’ll see a form like the following:
The only required fields are:
- username (should be input as the email address)
- password
- group
and you are suggested to also enter the email address under the email address field. You can also create a group at this time, or do it separately also from the admin interface.
And then the user can change his or her password on first login (and you should encourage them to).
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.