summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2017-12-02[2.0.x] Refs #28871 -- Fixed admin_views selenium test failure.Tim Graham
Backport of 7664fe275910bb31fcca2d54844bedde19fc4ed9 from master
2017-12-01[2.0.x] Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add ↵Tim Graham
another" inlines. Also allowed autocomplete widgets to work on AdminSites with a name other than 'admin'. Backport of 81057645f61fe545f4f11737dbd3040043ed2436 from master
2017-12-01[2.0.x] Used a separate admin site for autocomplete tests.Tim Graham
Backport of 474bd7a5d4b0b47eeedc03ad471ae9e630e95258 from master
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-19Added tests for PermissionDenied in admin's delete_selected() view.Anton Samarchyan
2017-06-19Moved admin's action view tests to a separate file.Tim Graham
2017-06-19Added tests for AdminSite's add/disable/get action methods.Anton Samarchyan
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-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-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-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-24Refs #27804 -- Used subTest() in several tests.Bruno Alla
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-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-23Replaced dict() usage with dict literals.Jon Dufresne
Literals are faster and more idiomatic.
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
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 python_2_unicode_compatible decorator usageClaude Paroz
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
2017-01-04Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was ↵Tim Graham
deleted?" message.
2017-01-03Fixed #2856 -- Replaced some 404s with messages in admin.Karen Tracey
Instead of a 404, return a redirect to admin index page with a message indicating that the requested object does not exist. This avoids the admin returning 404 from "Recent Actions" links for deleted objects.
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-23Fixed #26543 -- Prevented "confirm form submission" browser prompt when ↵Adonys Alea Boffill
reloading after an admin actions failure.
2016-12-21Refs #25753 -- Reset l10n cache when format settings changeClaude Paroz
Thanks Jaap Roes for the initial patch.
2016-12-14Fixed #27313 -- Allowed overriding admin popup response template.Michael Scott
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-12Fixed #27386 -- Wrapped admin's readonly fields in <div> rather than <p>.Jacob Rief
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-10-10Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ↵Denis Cornehl
ConditionalGetMiddleware.
2016-09-27Fixed #27266 -- Allowed using assertFormError()/assertFormsetError() in ↵Tim Graham
admin forms and formsets. Thanks Diego Andrés Sanabria Martín for the report and review.
2016-09-21Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵Jon Dufresne
boolean syntax.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-14Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.Jibodeah
Thanks juntatalor for the initial patch.
2016-09-12Refs #26524 -- Added a test for a <OneToOneField>_id reference in ↵Jon Dufresne
ModelAdmin.list_display.
2016-09-12Fixed #26524 -- Fixed crash in admin change view when displaying many to ↵Jon Dufresne
many forward refs. Thanks Tim Graham for the regression test.
2016-09-10Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.Alexander Gaevsky
2016-09-09Normalized spelling of ETag.Tim Graham