Skip to main content

Django commands used to promote or demote users

Project description

License: MIT PyPI version

Give me the damn rights.

Current Features

  • Promote an existing user
  • Demote an existing user

Installation

    1. Install using pip install django-promoter
    1. Add 'django_promoter' to your 'INSTALLED_APPS' settings
    1. 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

This version
History Node

1.0.1

History Node

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-promoter-1.0.1.tar.gz (4.2 kB) Copy SHA256 hash SHA256 Source None Mar 2, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page