Skip to main content

Django Promoter

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

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)

Source distribution for django-promoter 1.0.1
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page