| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-22 | Standardized how method_decorator is used in contrib.auth views and admin. | Claude Paroz | |
| Updated django.contrib.auth's views and admin modules to apply decorators consistently. | |||
| 2025-03-31 | Refs #28909 -- Simplified code using unpacking generalizations. | Aarni Koskela | |
| 2025-01-15 | Refs #22569 -- Made request required in ModelAdmin.lookup_allowed() per ↵ | Sarah Boyce | |
| deprecation timeline. | |||
| 2024-08-19 | Fixed #35678 -- Removed "usable_password" field from BaseUserCreationForm. | Natalia | |
| Refs #34429: Following the implementation allowing the setting of unusable passwords via the admin site, the `BaseUserCreationForm` and `UserCreationForm` were extended to include a new field for choosing whether password-based authentication for the new user should be enabled or disabled at creation time. Given that these forms are designed to be extended when implementing custom user models, this branch ensures that this new field is moved to a new, admin-dedicated, user creation form `AdminUserCreationForm`. Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3. Thanks Simon Willison for the report, Fabian Braun and Sarah Boyce for the review. | |||
| 2024-07-04 | Fixed #35520 -- Avoided opening transaction for read-only ModelAdmin requests. | Jake Howard | |
| 2024-02-20 | Fixed #34429 -- Allowed setting unusable passwords for users in the auth forms. | Fabian Braun | |
| Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2023-04-17 | Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter(). | sarahboyce | |
| Thank you Simon Meers for the initial patch. | |||
| 2022-09-15 | Changed camel case variable to snake case in contrib.admin/auth. | Youngkwang Yang | |
| 2022-06-22 | Fixed #33028 -- Used ModelAdmin's opts attribute instead of model._meta. | Marcelo Galigniana | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-05-20 | Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value. | David Sanders | |
| 2019-01-02 | Used 4 space hanging indent for dictionaries. | Tim Graham | |
| Thanks Mariusz Felisiak for auditing. | |||
| 2018-08-17 | Fixed #29686 -- Made UserAdmin.user_change_password() pass user to ↵ | Alexander Todorov | |
| has_change_permission(). | |||
| 2018-01-03 | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | |
| 2017-12-11 | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | |
| 2017-09-20 | Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. | Sjoerd Job Postmus | |
| Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. | |||
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-04 | Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2016-12-07 | Refs #17235 -- Made MultiPartParser leave request.POST immutable. | Vinay Karanam | |
| 2016-09-14 | Fixed #26170 -- Made ModelAdmin views run transactions on the correct database. | Jibodeah | |
| Thanks juntatalor for the initial patch. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-10-27 | Fixed #25596 -- Fixed regression in password change view with custom user model. | Tim Graham | |
| The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49 crashed on a custom user model. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-08-31 | Fixed #25324 -- Registered ModelAdmin instances with @admin.register decorator | Y3K | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2015-02-13 | Fixed #24334 -- Allowed admin password reset to work with non-digit custom ↵ | Tim Graham | |
| user model primary key. Thanks Loic for help and Simon for review. | |||
| 2015-02-09 | Replaced some more hardcoded admin URLs | Claude Paroz | |
| 2015-02-08 | Replaced hardcoded URLs in admin_* tests | Claude Paroz | |
| Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-12-31 | Fixed #22295 -- Replaced permission check for displaying admin user-tools | Thomas Tanner | |
| 2014-12-28 | Deprecated current_app in TemplateResponse and render(_to_response). | Aymeric Augustin | |
| 2014-04-25 | Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a ↵ | Tim Graham | |
| user password change in the admin. Thanks ross at servercode.co.uk for the report. | |||
| 2014-04-05 | Fixed #21649 -- Added optional invalidation of sessions when user password ↵ | Tim Graham | |
| changes. Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews. | |||
| 2014-04-03 | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | |
| Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | |||
| 2014-03-11 | Tweak password admin change form view context. Refs #21293. | Ramiro Morales | |
| 2013-12-10 | Fixed E124 pep8 warnings. | Loic Bistuer | |
| 2013-10-17 | Fixed #18659 -- Deprecated request.REQUEST and MergeDict | Bouke Haarsma | |
| Thanks Aymeric Augustin for the suggestion. | |||
| 2013-08-02 | Fixed #18923 -- Corrected usage of sensitive_post_parameters in contrib.auth | Tim Graham | |
| Thanks Collin Anderson for the report. | |||
| 2013-07-23 | Fixed #19019 -- Fixed UserAdmin to log password change. | Kirill Fomichev | |
| Thanks Tuttle for the report. | |||
| 2013-07-18 | Cleaned up UserAdmin.get_form() that worked around a bug fixed in 23e1b59. | Loic Bistuer | |
| Refs #18681. | |||
| 2013-06-19 | Fixed #20288 -- Fixed inconsistency in the naming of the popup GET parameter. | Loic Bistuer | |
| Thanks to Keryn Knight for the initial report and reviews, and to tomask for the original patch. | |||
| 2013-03-27 | Fixed #20078: don't allow filtering on password in the user admin. | Jacob Kaplan-Moss | |
| 2013-03-11 | Switched the admin to use @transaction.atomic. | Aymeric Augustin | |
| 2013-03-08 | Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵ | Loic Bistuer | |
| return a QuerySet. | |||
| 2012-12-24 | Fixed #19505 -- A more flexible implementation for customizable admin ↵ | Julien Phalip | |
| redirect urls. Work by Julien Phalip. Refs #8001, #18310, #19505. See also 0b908b92a2ca4fb74a103e96bb75c53c05d0a428. | |||
| 2012-12-04 | Fixed #18697 -- Made values accepted for two customizable admin templates ↵ | Ramiro Morales | |
| consistent. Thanks and at cloverfastfood dot com for the report. | |||
| 2012-11-10 | Allow custom User models to use the UserAdmin's change password view. | Ryan Kaskel | |
