Skip to content

Commit

Permalink
docs: Added a add/remove superuser guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
espenak committed Jan 3, 2015
1 parent 488564e commit c874fb4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions docs/superuser/addremove_superuser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#########################
Add or remove a superuser
#########################

To add or remove a superuser, go to ``/admin/``:

.. image:: ../images/djangoadmin_frontpage.png

Select **Users** from the displayed list. Select the user you want to turn into a superuser. Check or uncheck the
**Is superuser** checkbox to turn a user into a superuser, or to remove their superuser rights. Click **Save** to
complete the changes.
1 change: 1 addition & 0 deletions docs/superuser/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Superuser docs: Add/edit courses and users
add_period
add_course
add_admin
addremove_superuser
4 changes: 2 additions & 2 deletions trix/trix_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class User(AbstractBaseUser):

is_admin = models.BooleanField(
default=False,
verbose_name=_('Is admin?'),
help_text=_('User is admin? Admins have full access to the admin UI.'))
verbose_name=_('Is superuser?'),
help_text=_('User is superuser? Superusers have full access to the admin UI.'))

email = models.EmailField(max_length=250, blank=False, unique=True)

Expand Down

0 comments on commit c874fb4

Please sign in to comment.