summaryrefslogtreecommitdiff
path: root/tests/admin_views/admin.py
AgeCommit message (Collapse)Author
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2021-01-12Fixed #31747 -- Fixed model enumeration via admin URLs.Jon Dufresne
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-10-08Fixed #31181 -- Added links to related models for admin's readonly fields.Julien Rebetez
2020-04-28Changed django.forms.ValidationError imports to ↵François Freitag
django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-12-02Fixed CVE-2019-19118 -- Required edit permissions on parent model for ↵Carlton Gibson
editable inlines in admin. Thank you to Shen Ying for reporting this issue.
2019-11-19Fixed #30981 -- Fixed admin changelist crash when using F() or OrderBy() ↵Hasan Ramezani
expressions in admin_order_field.
2019-11-19Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵Daniel Izquierdo
deletions while protecting direct ones.
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-06-14Fixed #12952 -- Adjusted admin log change messages to use form labels ↵Sanyam Khurana
instead of field names.
2019-04-01Fixed #30259 -- Fixed crash of admin views when properties don't have ↵Mariusz Felisiak
admin_order_field attribute.
2019-03-24Fixed #30259 -- Added support for admin_order_field attribute on properties ↵Jani Tiainen
in ModelAdmin.list_display.
2019-01-16Fixed #11154, #22270 -- Made proxy model permissions use correct content type.Arthur Rio
Co-Authored-By: Simon Charette <charette.s@gmail.com> Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-28Fixed #29929 -- Fixed admin view-only change form crash when using ↵Basil Dubyk
ModelAdmin.prepopulated_fields.
2018-08-20Fixed #29682 -- Fixed admin change form crash if a view-only model's form ↵Tim Graham
has an extra field.
2018-08-17Fixed #29663 -- Made admin change view redirect to changelist with view ↵Jon Dufresne
permission.
2018-06-15Fixed #29487 -- Accounted for object level permissions when calculating ↵Paulo
change view's read-only fields. Thanks Matthew Frazier for the report and fix.
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-02-15Fixed #27810 -- Allowed query expressions in admin_order_field.Andreas Pelme
2018-02-07Fixed #25790 -- Allowed disable column sorting in the admin changelist.Alexander Gaevsky
Thanks Ramiro Morales for completing the patch.
2018-01-05Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete ↵Vasilis Aggelou
selected objects" deletion.
2018-01-04Fixed #28517 -- Fixed admin delete confirmation view crash when related ↵Paulo
models don't have a delete permission.
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-09-18Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵Johannes Hoppe
ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch.
2017-06-14Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.Lincoln Smith
2017-06-06Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.Paulo
2017-06-05Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested ↵Paulo
reverse relation is in list_filter.
2017-03-06Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.Tim Graham
Per deprecation timeline.
2017-01-07Refs #26961 -- Fixed invalid ModelAdmins in tests.Adam Chainz
2016-12-14Fixed #27313 -- Allowed overriding admin popup response template.Michael Scott
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-13Fixed #26954 -- Prevented ModelAdmin.has_module_permission()=False from ↵Halil Kaya
blocking access to the app index page.
2016-08-11Fixed #26919 -- Added the action form's media in the changelist view.Stanislav Karpov
2016-08-10Fixed admin_views clashing field check error.Adam Chainz
admin_views.Recommendation.recommender: (models.E006) The field 'recommender' clashes with the field 'recommender' from model 'admin_views.title'.
2016-06-08Fixed #26290 -- Warned that paginating an unordered QuerySet may result in ↵Emad Mokhtar
inconsistent results.
2016-06-04Fixed #19963 -- Added support for date_hierarchy across relations.Vytis Banaitis
2016-04-20Fixed #16327 -- Redirected "Save as new" to change view instead of the ↵Markus Amalthea Magnuson
changelist.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-25Fixed #26387 -- Restored the functionality of the admin's raw_id_fields in ↵Tim Graham
list_editable.
2016-02-02Fixed #24316 -- Made ModelAdmin.list_display callables use an appropriate ↵Tim Graham
CSS class name. Thanks Berker Peksag for the review.
2016-01-21Fixed #26060 -- Fixed crash with reverse OneToOneField in ↵Alexander Gaevsky
ModelAdmin.readonly_fields.
2016-01-08Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.Alexander Gaevsky
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x (refs #25997).