معرفی شرکت ها


django-authanon-0.1.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Allows permissions for an anonymous user and a generic signed-in user to be set as groups.
ویژگی مقدار
سیستم عامل -
نام فایل django-authanon-0.1.2
نام django-authanon
نسخه کتابخانه 0.1.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Robert Turnbull
ایمیل نویسنده robert.turnbull@unimelb.edu.au
آدرس صفحه اصلی https://github.com/rbturnbull/django-authanon
آدرس اینترنتی https://pypi.org/project/django-authanon/
مجوز Apache 2.0
# django-authanon ![pipline](https://github.com/rbturnbull/django-authanon/actions/workflows/pipeline.yml/badge.svg) [<img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rbturnbull/49262550cc8b0fb671d46df58de213d4/raw/django-authanon-coverage.json">](<https://rbturnbull.github.io/django-authanon/>) [<img src="https://img.shields.io/badge/code%20style-black-000000.svg">](<https://github.com/psf/black>) Allows permissions for an anonymous user and a generic signed-in user to be set as groups. ## Installation ``` pip install django-authanon ``` Then add to your `INSTALLED_APPS`: ``` INSTALLED_APPS += [ "authanon", ] ``` Then add to your `AUTHENTICATION_BACKENDS`: ``` AUTHENTICATION_BACKENDS += [ "authanon.backends.AuthanonBackend", ] ``` ## Usage This app creates two groups, one for anonymous users who aren't logged in and one group for users who are logged in. You can add permissions to these groups in the admin console in the 'Groups' section under the 'AUTHENTICATION AND AUTHORIZATION' section. To display the permissions for these two groups on the command line, use this command. ``` ./manage.py authanon ``` These groups are automatically created when anonymous users or logged-in users try to access pages. If you find they haven't been created yet, use the `./manage.py authanon` command and then the groups will appear in the admin. ## Configuration By default, the two groups are called `Anonymous` and `Login Users`. You can change them by variables to the settings with the names `AUTHANON_ANONYMOUS_GROUP` or `AUTHANON_LOGIN_GROUP`. ## Credits Package authored by Robert Turnbull (Melbourne Data Analytics Platform) Inspired by this Stack Overflow answer: https://stackoverflow.com/a/31520798 (User: jozxyqk)


نیازمندی

مقدار نام
>=3.0,<4.0 Django


زبان مورد نیاز

مقدار نام
>=3.7.1,<4.0.0 Python


نحوه نصب


نصب پکیج whl django-authanon-0.1.2:

    pip install django-authanon-0.1.2.whl


نصب پکیج tar.gz django-authanon-0.1.2:

    pip install django-authanon-0.1.2.tar.gz