summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
2023-03-28[4.2.x] Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields ↵Tom Carrick
on the same line. Thanks Antonio Candido Nazareth junior for the report. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of d687febce5868545f99974d2499a91f81a32fef5 from main
2023-02-17[4.2.x] Refs #34342 -- Added tests for handling sync streaming responses by ↵Alexandre Spaeth
test client. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of bfb8fda3e69cc6f5c6695ba70117faff51cc25a9 from main
2023-02-13[4.2.x] Fixed #34316 -- Fixed layout of admin password change forms and help ↵sarahboyce
texts. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. Backport of e67804668115fd388e7554c6a809bd409f70adfe from main
2023-02-08[4.2.x] Fixed #34315 -- Preserved admin changelist filters on "Close" button.Bakdolot
Backport of 325c44ac6c070465ef2b3b7b8ed06cbcb88a3f10 from main
2023-02-07[4.2.x] Fixed #34301 -- Made admin's submit_row check add permission for ↵Frederic Mheir
"Save as new" button. Backport of 2878938626aed211d03db33a9a135c9b1d933069 from main
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main
2022-12-06Fixed AdminViewDeletedObjectsTest.test_cyclic failure when using --keepdb.Mariusz Felisiak
This changes to hardcoded pks when hardcoded fks are used.
2022-10-12Fixed #34042 -- Improved accessibility of admin's navigation sidebar.Rasmus Magnell
2022-10-07Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to ↵Gregor Gärtner
assertFormSetError(). Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-09-28Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after ↵David Sanders
adding/changing related instances via popups. Regression in c72f6f36c13a21f6db3d4f85d2d3cec87bad45e6. Thanks Alexandre da Silva for the report.
2022-09-28Removed obsolete test_skip_link_is_skipped_when_there_is_searchbar test.Mariusz Felisiak
searchbar doesn't have autofocus since d938b3b2577807ffd585f654caa0f37d9574e565.
2022-09-26Refs #34041 -- Added navigation landmark to breadcrumbs in admin.Florian Perucki
Thanks Thibaud Colas for pair programming.
2022-09-07Refs #24179 -- Fixed selenium tests for offset of admin selector boxes in ↵Mariusz Felisiak
fieldset. Regression in be63c78760924e1335603c36babd0ad6cfaea3c4.
2022-08-17Fixed #33878 -- Switched to system fonts in CSS.Tom Carrick
2022-08-05Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of ↵Fab
admin forms." Regression in fe7dbef5867c577995f0fc849d8dfdb8f2e6bbfa.
2022-07-31Fixed warnings per flake8 5.0.0.Mariusz Felisiak
2022-07-28Fixed #33726 -- Added skip-link to admin for keyboard navigation.Marcelo Galigniana
2022-05-23Refs #33725 -- Replaced deprecated find_element_by_css_selector() with ↵Mariusz Felisiak
find_elements(By.CSS_SELECTOR, …). Follow up to 90dcf271147693a8897f644c4c8943c5b73c02f8 and 2ccc0b22db6730ba0950b10bbc5238ae575e4a45.
2022-05-21Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not ↵Sankalp
focusable. Regression in d915dd1c5809d7c2bb3679751cd5277571dcd9f7. Follow up to 780473d75625d014cbe9b0acdea40b7a5970d5d8.
2022-05-06Fixed #33679 -- Fixed the last inline's id in admin for users without add ↵Daniel Hahler
permissions.
2022-04-18Fixed various tests on MySQL with MyISAM storage engine.Mariusz Felisiak
2022-04-18Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵Mariusz Felisiak
tests with MyISAM storage engine.
2022-04-15Fixed #11803 -- Allowed admin select widgets to display new related objects.mgaligniana
Adjusted admin javascript to add newly created related objects to already loaded select widgets. In this version, applies only where limit_choices_to is not set.
2022-04-06Refs #31617 -- Added an id for helptext in admin forms.David Smith
2022-04-06Fixed #33348 -- Changed ↵Baptiste Mispelon
SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset. Instead of taking a response object and a context name for the form/formset, the two methods now take the object directly.
2022-03-25Fixed #7497 -- Allowed overriding the order of apps and models in admin.adontz
2022-03-25Refs #7497 -- Added assertion for the default order of models in ↵Mariusz Felisiak
AdminSite.app_index().
2022-03-24Refs #15619 -- Logged out with POST requests in admin.Mariusz Felisiak
2022-03-21Fixed #33592 -- Fixed "View on Site" links in custom admin site.Stefan Wehrmeyer
2022-02-23Fixed #28889 -- Prevented double submission of admin forms.mgaligniana
Added a JavaScript confirm() to catch double-submissions, when the change form has already been submitted. Thanks to Adam Johnson, Claude Paroz, Keryn Knight, and Thibaud Colas for review.
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
2022-02-14Simplified SimpleTestCase.assertFormError()/assertFormsetErrors() calls in ↵Baptiste Mispelon
admin_views tests.
2022-02-14Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() ↵Baptiste Mispelon
assertion.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-13Refs #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Mariusz Felisiak
Regression in 84609b3205905097d7d3038d32e6101f012c0619. Follow up to 4e5bbb6ef2287126badd32842b239f4a8a7394ca. Thanks Sourav Kumar for the report.
2021-12-30Fixed #33300 -- Ensured hidden elements are not displayed on small screens.Shubh1815
2021-12-28Refs #31617 -- Removed redundant title text in filter.html.David Smith
Unnecessary since 269a76714616fd7ad166a14113f3354bab8d9b65. Title text should provide advisory information and should not be the same or very similar to the element text.
2021-12-15Fixed #33316 -- Added pagination to admin history view.mgaligniana
2021-11-25Fixed #33024 -- Fixed height of admin selector boxes in collapsed fieldset.Shubh1815
Thanks Tom Carrick for the review.
2021-11-16Fixed #28357 -- Fixed ModelAdmin.prepopulated_fields on newly added stacked ↵Shubh1815
inline. Thanks Jakob Köhler for the initial patch.
2021-11-02Fixed isolation of admin_views.tests.ValidXHTMLTests.Mariusz Felisiak
2021-10-21Fixed #33211 -- Updated tests for Selenium 4.0.0.Carlton Gibson
Replaced deprecated `find_element[s]_by_*()` usages, in favour of `find_element[s]()` with an explicit `By`.
2021-10-21Refs #33211 -- Added assertCountSeleniumElements() test helper.Carlton Gibson
2021-10-20Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.David Smith
2021-10-06Refs #33029 -- Fixed popups Selenium tests in headless mode.Carlton Gibson
Co-authored-by: Yash Jhunjhunwala <yash@jhunjhunwalaadvisors.com>
2021-10-06Fixed #33156 -- Used sessionStorage to preserve quick filter for admin's ↵Maxim Milovanov
navigation sidebar.
2021-09-30Fixed #33029 -- Allowed multiple popups for self-related fields in admin.Yash Jhunjhunwala
2021-09-20Fixed #31026 -- Switched form rendering to template engine.David Smith
Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews. Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
2021-09-18Fixed #33077 -- Fixed links to related models for admin's readonly fields in ↵Ken Whitesell
custom admin site.