Django commands used to promote or demote users
Project description
Give me the damn rights.
Current Features
Promote an existing user
Demote an existing user
Installation
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
Usage
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. The ./manage.py createsuperuser isn’t available because you can’t create new users. 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.
License
The MIT License (MIT)
Copyright © 2017 Numberly
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-promoter-1.0.1.tar.gz
.
File metadata
- Download URL: django-promoter-1.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6de86b36f0728260706c6a126c651d0550e81eff55d9665bcf46ddf6b485076 |
|
MD5 | 7a31b7adbbe5e8e2e5f3ce707e3075e1 |
|
BLAKE2b-256 | 7bc86421390facb2fab019b0d1dfb48f216a9ce058868353e14b32b004d50717 |