Django admin password reset
Project description
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.
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 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.8, 3.9, 3.10 |
4.1 |
3.8, 3.9, 3.10, 3.11 |
4.2 |
3.8, 3.9, 3.10, 3.11 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for django_admin_reset-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d590324d6e4bf323aa1e4e4f4f1bfdec59fa13ee0941badb074c7c04949246f |
|
MD5 | a0292ba4c1ac5a1129621cff340043ae |
|
BLAKE2b-256 | 6c893934049cd0c5cfe2bca6cc5c4376c3f32936ab2e21f14e421bfb1d96ad23 |