Metadata-Version: 2.1
Name: django-admin-reset
Version: 0.5.0
Summary: Django admin password reset
Home-page: https://github.com/tiborhari/django-admin-reset/
Author: Tibor Hári
Author-email: hartib@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.5, <4
Requires-Dist: django (<3.1,>=2.2)
Provides-Extra: babel
Requires-Dist: babel (==2.8.0) ; extra == 'babel'
Provides-Extra: docs
Requires-Dist: sphinx (==2.4.0) ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme (==0.4.3) ; extra == 'docs'
Provides-Extra: testing
Requires-Dist: pytest-cov (==2.8.1) ; extra == 'testing'
Requires-Dist: pytest-django (==3.8.0) ; extra == 'testing'
Requires-Dist: tox (==3.14.3) ; extra == 'testing'

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
==============  =======================
2.2 LTS         3.5, 3.6, 3.7, 3.8
3.0             3.6, 3.7, 3.8
==============  =======================


