Django Promoter
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
Release files for django-promoter 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-promoter-1.0.1.tar.gz | 4.2 kB | Details |
Release files / django-promoter-1.0.1.tar.gz
| Download URL | django-promoter-1.0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6de86b36f0728260706c6a126c651d0550e81eff55d9665bcf46ddf6b485076
|
|
BLAKE2b-256 checksum How to use checksums |
7bc86421390facb2fab019b0d1dfb48f216a9ce058868353e14b32b004d50717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |