https://github.com/numberly/django-promoter
Django commands to manage users' ranks.
https://github.com/numberly/django-promoter
admin app cli django lightweight python
Last synced: 6 months ago
JSON representation
Django commands to manage users' ranks.
- Host: GitHub
- URL: https://github.com/numberly/django-promoter
- Owner: numberly
- License: mit
- Created: 2018-03-02T11:50:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T22:55:20.000Z (over 7 years ago)
- Last Synced: 2025-04-02T22:33:42.271Z (6 months ago)
- Topics: admin, app, cli, django, lightweight, python
- Language: Python
- Homepage: https://pypi.python.org/pypi/django-promoter
- Size: 22.5 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Django Promoter
===============|License: MIT| |PyPI version|
Give me the damn rights.
Current Features
----------------- Promote an existing user
- Demote an existing userInstallation
-------------
1. Install using ``pip install django-promoter``
-
2. Add ``'django_promoter'`` to your ``'INSTALLED_APPS'`` settings
-
3. You can now access the ``promote`` and ``demote`` commands from
your ``./manage.py``Usage
-----Promote a user
^^^^^^^^^^^^^^.. code:: bash
$ ./manage.py promote username
Demote a user
~~~~~~~~~~~~~.. code:: bash
$ ./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
.. |License: MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg
:target: https://opensource.org/licenses/MIT
.. |PyPI version| image:: https://badge.fury.io/py/django-promoter.svg
:target: https://badge.fury.io/py/django-promoter