summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
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-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵Simon Charette
favor of databases.
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2019-01-01Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with ↵Tim Graham
non-None obj during add. Thanks andreage for the report and suggested fix.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-12-10Moved choices inside of test models per coding style.Manan
2018-12-03Fixed #29930 -- Allowed editing in admin with view-only inlines.Carlton Gibson
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-11-28Fixed #29929 -- Fixed admin view-only change form crash when using ↵Basil Dubyk
ModelAdmin.prepopulated_fields.
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-27Adjusted code style of a few test data setup methods.Simon Charette
Thanks Mariusz for suggesting it.
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-11-16Fixed typo in tests/admin_views/tests.py.Tim Graham
2018-09-25Simplified AdminFieldExtractionMixin.get_admin_form_fields().Sergey Fedoseev
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-08-12Refs #27804 -- Used subTest in AdminViewPermissionsTest.Jon Dufresne
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-19Fixed #29578 -- Made numberformat.format() honor forced l10n usage.Claude Paroz
Thanks Sassan Haradji for the report.
2018-06-20Refs #27398 -- Simplified some tests with assertRedirects().Tim Graham
2018-06-18Fixed #29502 -- Allowed users with the view permission to use ↵Carlton Gibson
autocomplete_fields.
2018-06-18Fixed #29419 -- Allowed permissioning of admin actions.Carlton Gibson
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-23Fixed #29417 -- Corrected two admin page titles for view-only users.Ramiro Morales
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-05-15Added assertion for admin change form's "save and continue editing" message.Tim Graham
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-05-07Replaced django.test.utils.patch_logger() with assertLogs().Claude Paroz
Thanks Tim Graham for the review.
2018-04-05Fixed #29248 -- Renamed admin CSS class field-box to fieldBox.Faheel Ahmad
2018-04-03Refs #27728 -- Fixed BytesWarning in admin_views tests.Jon Dufresne
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-03-15Fixed #28959 -- Fixed 'No, take me back' button on admin's inline popup.Josh Schneier
2018-03-01Refs #27728 -- Made cosmetic edits to admin template tag template overriding.Tim Graham
2018-02-28Fixed #27728 -- Allowed overriding admin templatetags templates.Raffaele Salmaso
2018-02-24Fixed #17962 -- Added ModelAdmin.get_deleted_objects().Becky Smith
2018-02-24Tested the admin's delete_selected action when it receives nonexistent pks.Tim Graham
2018-02-23Fixed #28635 -- Fixed admin's preserved filters if the URL contains ↵a8568730
non-ASCII characters.
2018-02-15Fixed #27810 -- Allowed query expressions in admin_order_field.Andreas Pelme
2018-02-14Added tests for the date_hierarchy template tag.Haki Benita
2018-02-07Fixed #25790 -- Allowed disable column sorting in the admin changelist.Alexander Gaevsky
Thanks Ramiro Morales for completing the patch.
2018-02-07Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham
2018-02-02Fixed imports per isort 4.3.1.Tim Graham
Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c.
2018-02-01Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.Tim Graham
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645). This is a security fix.
2018-02-01Fixed imports per isort 4.3.0.Mariusz Felisiak
2018-01-23Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries.Jon Dufresne
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
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