Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benzkji committed Oct 27, 2017
1 parent 8520fbc commit 18669ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# django-separate-users
separate staff and non staff users with two proxy models (FrontendUser and Editor).

Separate staff and non staff users with two proxy models (FrontendUser and Editor).
Nothing fancy, but as I ended up doing this again and again, this is a simple plug and forget
solution, that I'll probably use in many projects from now on.

- minimal requirement are the `is_staff` and `is_superuser` fields on your user model
- staff users can be given the right to edit non staff users (currently not possible, or everyone can make everyone a superuser)
- fieldsets for staff and non staff users can be defined via settings (not yet)
- better admin list views (filters, is_active, etc)

NOTE / WARNING: With django<1.11, it's not possible to run this app with as custom
[//]: # (NOTE / WARNING: With django<1.11, it's not possible to run this app with as custom
`settings.AUTH_USER_MODEL`. See https://stackoverflow.com/questions/46935758/djangos-get-user-model-only-in-1-11-during-import-time
t)

NOTE: Custom user models are not supported (yet).

## Usage

Expand Down

0 comments on commit 18669ec

Please sign in to comment.