Skip to content

Commit

Permalink
Updated docs, HIJACK_USER_ADMIN_CLASS_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeowagner committed May 26, 2018
1 parent fb4e376 commit 75f63a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -37,6 +37,10 @@ Path to the template for the "Hijack" buttons. Default: `'hijack_admin/admin_but
### `HIJACK_REGISTER_ADMIN`
Whether the user model should be registered with `HijackUserAdmin` automatically. Default: `True`

### `HIJACK_USER_ADMIN_CLASS_NAME`

Adds the possibility to configure the admin class name.

## Custom user admins
Custom user admins are supported. Just set `HIJACK_REGISTER_ADMIN = False` and
modify your custom admin class as shown in this example:
Expand Down

0 comments on commit 75f63a6

Please sign in to comment.