Django commands used to promote or demote users
Give me the damn rights.
- Promote an existing user
- Demote an existing user
- Install using pip install django-promoter
- Add 'django_promoter' to your 'INSTALLED_APPS' settings
- You can now access the promote and demote commands from your ./manage.py
Promote a user
$ ./manage.py promote username
Demote a user
$ ./manage.py demote username
Why would I use this ?
The main purpose of this project is to be able to manage rights when you
have to use a read-only backend.
./manage.py createsuperuser isn’t available because you can’t create
Using Django Promoter, once the user is inserted in the Django database,
you can promote him to a superuser without having to modify the auth database.
The MIT License (MIT)
Copyright © 2017 Numberly