summaryrefslogtreecommitdiff
path: root/tests/admin_views
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField.Coen van der Kamp2023-04-281-0/+7
| | | | This also deprecates "http" as the default scheme.
* Fixed #34512 -- Restored breadcrumbs on admin app index view.Mariusz Felisiak2023-04-261-0/+4
| | | | | Thanks Adam (ataylor32) for the report. Regression in 872b61193b013a700ff88cf50f0eb2cf2c266ff7.
* Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields on the ↵Tom Carrick2023-03-271-2/+4
| | | | | | | | | | same line. Thanks Antonio Candido Nazareth junior for the report. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #32539 -- Added toggleable facet filters to ModelAdmin.sarahboyce2023-03-032-0/+43
| | | | | Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz Felisiak for reviews.
* Moved duplicate user declarations to setUpTestData() in ↵Mariusz Felisiak2023-03-031-110/+31
| | | | AdminSiteFinalCatchAllPatternTests.
* Fixed #34377 -- Fixed preserving query strings in AdminSite.catch_all_view().Dominique Bischof2023-03-031-0/+36
| | | | | | | Included full path when redirecting with append slash to include query strings. Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
* Refs #31747 -- Added more tests for preserving query strings when redirect ↵Dominique Bischof2023-03-031-0/+35
| | | | with APPEND_SLASH in admin.
* Refs #34342 -- Added tests for handling sync streaming responses by test client.Alexandre Spaeth2023-02-171-1/+1
| | | | Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
* Fixed #34316 -- Fixed layout of admin password change forms and help texts.sarahboyce2023-02-131-7/+7
| | | | Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
* Fixed #34315 -- Preserved admin changelist filters on "Close" button.Bakdolot2023-02-081-0/+15
|
* Fixed #34301 -- Made admin's submit_row check add permission for "Save as ↵Frederic Mheir2023-02-071-1/+34
| | | | new" button.
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
| | | | | | | | 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
* Fixed #34233 -- Dropped support for Python 3.8 and 3.9.Mariusz Felisiak2023-01-181-5/+1
|
* Refs #32365 -- Removed support for pytz timezones per deprecation timeline.Mariusz Felisiak2023-01-171-8/+0
|
* Fixed AdminViewDeletedObjectsTest.test_cyclic failure when using --keepdb.Mariusz Felisiak2022-12-061-2/+2
| | | This changes to hardcoded pks when hardcoded fks are used.
* Fixed #34042 -- Improved accessibility of admin's navigation sidebar.Rasmus Magnell2022-10-121-23/+30
|
* Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to ↵Gregor Gärtner2022-10-071-4/+4
| | | | | | assertFormSetError(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after ↵David Sanders2022-09-282-23/+50
| | | | | | | | adding/changing related instances via popups. Regression in c72f6f36c13a21f6db3d4f85d2d3cec87bad45e6. Thanks Alexandre da Silva for the report.
* Removed obsolete test_skip_link_is_skipped_when_there_is_searchbar test.Mariusz Felisiak2022-09-281-21/+0
| | | | searchbar doesn't have autofocus since d938b3b2577807ffd585f654caa0f37d9574e565.
* Refs #34041 -- Added navigation landmark to breadcrumbs in admin.Florian Perucki2022-09-261-0/+25
| | | | Thanks Thibaud Colas for pair programming.
* Refs #24179 -- Fixed selenium tests for offset of admin selector boxes in ↵Mariusz Felisiak2022-09-071-6/+18
| | | | | fieldset. Regression in be63c78760924e1335603c36babd0ad6cfaea3c4.
* Fixed #33878 -- Switched to system fonts in CSS.Tom Carrick2022-08-171-1/+14
|
* Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of ↵Fab2022-08-052-105/+39
| | | | | | admin forms." Regression in fe7dbef5867c577995f0fc849d8dfdb8f2e6bbfa.
* Fixed warnings per flake8 5.0.0.Mariusz Felisiak2022-07-311-2/+3
|
* Fixed #33726 -- Added skip-link to admin for keyboard navigation.Marcelo Galigniana2022-07-281-0/+145
|
* Refs #33725 -- Replaced deprecated find_element_by_css_selector() with ↵Mariusz Felisiak2022-05-231-4/+4
| | | | | | find_elements(By.CSS_SELECTOR, …). Follow up to 90dcf271147693a8897f644c4c8943c5b73c02f8 and 2ccc0b22db6730ba0950b10bbc5238ae575e4a45.
* Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not ↵Sankalp2022-05-211-0/+8
| | | | | | | | focusable. Regression in d915dd1c5809d7c2bb3679751cd5277571dcd9f7. Follow up to 780473d75625d014cbe9b0acdea40b7a5970d5d8.
* Fixed #33679 -- Fixed the last inline's id in admin for users without add ↵Daniel Hahler2022-05-061-0/+14
| | | | permissions.
* Fixed various tests on MySQL with MyISAM storage engine.Mariusz Felisiak2022-04-181-0/+3
|
* Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵Mariusz Felisiak2022-04-181-2/+5
| | | | tests with MyISAM storage engine.
* Fixed #11803 -- Allowed admin select widgets to display new related objects.mgaligniana2022-04-153-0/+181
| | | | | | | 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.
* Refs #31617 -- Added an id for helptext in admin forms.David Smith2022-04-061-7/+57
|
* Fixed #33348 -- Changed ↵Baptiste Mispelon2022-04-061-12/+17
| | | | | | | 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.
* Fixed #7497 -- Allowed overriding the order of apps and models in admin.adontz2022-03-252-0/+19
|
* Refs #7497 -- Added assertion for the default order of models in ↵Mariusz Felisiak2022-03-251-0/+3
| | | | AdminSite.app_index().
* Refs #15619 -- Logged out with POST requests in admin.Mariusz Felisiak2022-03-241-35/+43
|
* Fixed #33592 -- Fixed "View on Site" links in custom admin site.Stefan Wehrmeyer2022-03-211-0/+15
|
* Fixed #28889 -- Prevented double submission of admin forms.mgaligniana2022-02-231-0/+105
| | | | | | | | 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.
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-222-4/+4
| | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
* Simplified SimpleTestCase.assertFormError()/assertFormsetErrors() calls in ↵Baptiste Mispelon2022-02-141-14/+2
| | | | admin_views tests.
* Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() ↵Baptiste Mispelon2022-02-141-1/+1
| | | | assertion.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-072-79/+144
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-0716-3330/+5122
|
* Refs #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Mariusz Felisiak2022-01-131-0/+14
| | | | | | | Regression in 84609b3205905097d7d3038d32e6101f012c0619. Follow up to 4e5bbb6ef2287126badd32842b239f4a8a7394ca. Thanks Sourav Kumar for the report.
* Fixed #33300 -- Ensured hidden elements are not displayed on small screens.Shubh18152021-12-301-0/+19
|
* Refs #31617 -- Removed redundant title text in filter.html.David Smith2021-12-281-2/+2
| | | | | | Unnecessary since 269a76714616fd7ad166a14113f3354bab8d9b65. Title text should provide advisory information and should not be the same or very similar to the element text.
* Fixed #33316 -- Added pagination to admin history view.mgaligniana2021-12-151-1/+53
|
* Fixed #33024 -- Fixed height of admin selector boxes in collapsed fieldset.Shubh18152021-11-252-0/+62
| | | | Thanks Tom Carrick for the review.
* Fixed #28357 -- Fixed ModelAdmin.prepopulated_fields on newly added stacked ↵Shubh18152021-11-162-3/+43
| | | | | | inline. Thanks Jakob Köhler for the initial patch.
* Fixed isolation of admin_views.tests.ValidXHTMLTests.Mariusz Felisiak2021-11-021-4/+4
|