#36121: Allow customization of password_change_form in the Django admin site
-------------------------------------+-------------------------------------
Reporter: Mohammadreza | Owner:
Eskandari | Mohammadreza Eskandari
Type: New feature | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: password_change | Triage Stage: Accepted
form, admin_site |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mohammadreza Eskandari):
Hi Natalia
Thank you so much for accepting my ticket and considering the changes!
I’ve created a GitHub repository to demonstrate the changes I’ve made in
relation to this ticket. In this repo, you will find a test project with
the necessary customizations for overriding the password_change_form as
discussed.
link of repository: https://github.com/mohammadrezaesk/django-ticket-36121
-show-case
**PR changes:**
Additionally, I’ve added test cases to the PR to check for security-
related changes, and I’ve updated the release notes and documentation as
requested 🫡.
Regarding the documentation, when I checked the existing docs for the
login_form customization, I noticed there were no detailed examples
provided for similar attributes. So, I followed the same format as the
login_form example and avoided adding unnecessary text. This way, the
documentation remains consistent with the current structure, and the
example is clear and concise.
Feel free to check out the project and let me know if further adjustments
are needed!
Looking forward to your feedback.
--
Ticket URL: <https://code.djangoproject.com/ticket/36121#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019494faf2a2-a5ca0b4a-9487-4a0d-bae6-97ba30428db9-000000%40eu-central-1.amazonses.com.