django-admin-reset-0.6.1
توضیحات
Django admin password reset
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-admin-reset-0.6.1 |
| نام | django-admin-reset |
| نسخه کتابخانه | 0.6.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tibor Hári |
| ایمیل نویسنده | hartib@gmail.com |
| آدرس صفحه اصلی | https://github.com/tiborhari/django-admin-reset/ |
| آدرس اینترنتی | https://pypi.org/project/django-admin-reset/ |
| مجوز | - |
Password reset for the Django admin interface
=============================================
This package provides views, to use the built-in Django password reset
functionality from inside the admin interface.
Features:
* Add a link to the top of the user change form, that leads to a new page,
containing the link for the password reset.
* Remove the features to manually change the users' passwords from the admin
interface (but see note below).
* Remove the change password link from the user forms.
* Remove the password inputs from the user add form.
.. note::
It's still possible, to manually change the users' passwords by going to
the ``/admin/auth/user/<uid>/password/`` page. Only the links,
pointing to this page are removed.
Installation
------------
The django-admin-reset package can be installed with pip::
pip install django-admin-reset
Usage
-----
To use this package, add it to ``INSTALLED_APPS``,
in the ``settings.py`` file::
INSTALLED_APPS = [
...
'django_admin_reset',
...
]
Validation time
---------------
The password reset links/tokens, generated by this package, are using the built-in
Django password reset functionality, and so respect the
``PASSWORD_RESET_TIMEOUT_DAYS`` setting.
Compatibility
-------------
This package changes the default user admin class, so it may be incompatible
with other packages, that are also changing it.
Compatible Django and Python versions:
============== ========================
Django version Python versions
============== ========================
3.2 LTS 3.6, 3.7, 3.8, 3.9, 3.10
4.0 3.8, 3.9, 3.10
4.1 3.8, 3.9, 3.10, 3.11
============== ========================
نیازمندی
| مقدار | نام |
|---|---|
| <4.2,>=3.2 | django |
| ~=2.10.1 | babel |
| ~=4.5.0 | sphinx |
| ~=1.0.0 | sphinx-rtd-theme |
| ~=5.0.4 | flake8 |
| ~=6.2.5 | pytest |
| ~=3.0.0 | pytest-cov |
| ~=3.10.0 | pytest-django |
| ~=3.25.0 | tox |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6, <4 | Python |
نحوه نصب
نصب پکیج whl django-admin-reset-0.6.1:
pip install django-admin-reset-0.6.1.whl
نصب پکیج tar.gz django-admin-reset-0.6.1:
pip install django-admin-reset-0.6.1.tar.gz