mirror of
https://github.com/django/django.git
synced 2025-11-23 12:26:57 +00:00
This change ensures that the "Reset password" button in the admin is shown only when the user has the necessary permission to perform a password change operation. It reuses the password hashing rendering logic in `display_for_field` to show the appropriate read-only widget for users with view-only access. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| models.py | ||
| test_logentry.py | ||
| tests.py | ||
| urls.py | ||