Skip to main content

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

4.2 LTS

3.9, 3.10, 3.11, 3.12

5.0

3.10, 3.11, 3.12

5.1

3.10, 3.11, 3.12

5.2 LTS

3.10, 3.11, 3.12

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_admin_reset-0.7.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file django_admin_reset-0.7.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_reset-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 02286035aa5f18439746382a1965856cea22f7351eeb8fffab00e33e04ddef86
MD5 c5ec339ca5f83a471e688605c571d777
BLAKE2b-256 f9004d151b9c72aa4d08a7eda0fd18017da0527e7ad87855ec59b9591cd24bb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_admin_reset-0.7.3-py3-none-any.whl:

Publisher: tox.yml on tiborhari/django-admin-reset

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page