summaryrefslogtreecommitdiff
path: root/tests/admin_views/tests.py
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-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-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-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-06-20Refs #27398 -- Simplified some tests with assertRedirects().Tim Graham
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-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-03-15Fixed #28959 -- Fixed 'No, take me back' button on admin's inline popup.Josh Schneier
2018-02-24Fixed #17962 -- Added ModelAdmin.get_deleted_objects().Becky Smith
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-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-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-04Fixed #28517 -- Fixed admin delete confirmation view crash when related ↵Paulo
models don't have a delete permission.
2017-12-02Refs #28871 -- Fixed admin_views selenium test failure.Tim Graham
2017-11-07Fixed #28585 -- Calculated admin's change form multipart context variable ↵Claude Paroz
from forms and formsets Thanks Tim Graham for the review.
2017-10-24Refs #28688 -- Updated a selenium test for admin's URLify.js change.Tim Graham
English words aren't removed if non-ASCII chars are present.
2017-09-22Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline.Tim Graham
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-19Moved admin's action view tests to a separate file.Tim Graham
2017-06-14Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.Lincoln Smith
2017-06-09Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.Collin Anderson
2017-06-05Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested ↵Paulo
reverse relation is in list_filter.
2017-06-02Fixed admin_views IntegrityError test failure.Tim Graham
Regression in 38a5a23c327ab1c816dc56864002ecc66cac4a48.
2017-06-02Fixed admin_views test when run in reverse.Tim Graham
Modifying self.s1 created in setUpTestData() leaked state. Regression in 45585d3cbbd320a316171b17474b60e3f5fb1fb8.
2017-06-02Removed pk hardcoding in admin_views tests.Tim Graham
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-06Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy.Anton Samarchyan
2017-01-23Replaced dict() usage with dict literals.Jon Dufresne
Literals are faster and more idiomatic.
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
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.