bridgekeeper-0.9
توضیحات
Django permissions that work with QuerySets.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bridgekeeper-0.9 |
| نام | bridgekeeper |
| نسخه کتابخانه | 0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Leigh Brenecki |
| ایمیل نویسنده | leigh@brenecki.id.au |
| آدرس صفحه اصلی | https://bridgekeeper.leigh.party/ |
| آدرس اینترنتی | https://pypi.org/project/bridgekeeper/ |
| مجوز | MIT |
Bridgekeeper
------------
..
| Who would cross the Bridge of Death
| must answer me these questions three,
| ere the other side he see.
-- The Bridgekeeper, *Monty Python and the Holy Grail*
Bridgekeeper is a permissions library for Django_ projects, where permissions are defined in your code, rather than in your database.
It's heavily inspired by django-rules_, but with one important difference: **it works on QuerySets as well as individual model instances**.
This means that you can efficiently show a list of all of the model instances that your user is allowed to edit, for instance, without having your permission-checking code in two different places.
.. _django: https://djangoproject.com/
.. _django-rules: https://github.com/dfunckt/django-rules
Bridgekeeper is tested on Django 2.2 and 3.0 on all Python versions Django supports, and is licensed under the MIT License.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl bridgekeeper-0.9:
pip install bridgekeeper-0.9.whl
نصب پکیج tar.gz bridgekeeper-0.9:
pip install bridgekeeper-0.9.tar.gz