summaryrefslogtreecommitdiff
path: root/tests/admin_views
AgeCommit message (Collapse)Author
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.
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-08-27Fixed #33051 -- Fixed highlighting the current model in admin's sidebar with ↵Hasan Ramezani
non-ASCII model names.
2021-08-10Fixed #32993 -- Added AutocompleteJsonView.serialize_result() to allow ↵Mart Sõmermaa
customization.
2021-07-15Fixed #32905 -- Added CSS class for non-form errors of formsets.Ties Jan Hefting
2021-06-10Refs #24121 -- Added __repr__() to AdminForm, BlockContext, ↵saeedblanchette
BlockTranslateNode, and IncludeNode.
2021-05-20Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value.David Sanders
2021-05-18Fixed #32754 -- Made AdminSite.catch_all_view() respect SCRIPT_NAME.Slava Skvortsov
Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
2021-05-13Fixed #32031 -- Added model class for each model to AdminSite.each_context().Raffaele Salmaso
2021-04-29Fixed capitalization of "ECMAScript" and "JavaScript".Nick Pope
2021-04-27Refs #32682 -- Renamed use_distinct variable to may_have_duplicates.Mariusz Felisiak
QuerySet.distinct() is not the only way to avoid duplicate, it's also not preferred.
2021-04-26Fixed #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Zain Patel
Regression in 84609b3205905097d7d3038d32e6101f012c0619.
2021-04-14Fixed #32649 -- Fixed ModelAdmin.search_fields crash when searching against ↵Mariusz Felisiak
phrases with unbalanced quotes. Thanks Dlis for the report. Regression in 26a413507abb38f7eee4cf62f2ee9727fdc7bf8d.
2021-03-31Fixed #32204 -- Added quick filter to admin's navigation sidebar.Maxim Milovanov
2021-03-18Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.Johannes Maron
In MTI or ForeignKey as primary key cases, it is required to fetch the attname from the field instance on the remote model in order to reliably resolve the to_field_name. Co-authored-by: Johannes Maron <info@johanneshoppe.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-18Refs #29138 -- Added extra tests for autocomplete FK to_field variations.Johannes Maron
2021-03-10Removed unnecessary lines in test_has_view_or_change_permission_required().Mariusz Felisiak
AutocompleteJsonViewTests.user is already a staff member.
2021-03-02Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10.François Freitag
2021-02-26Removed unused code in admin_views tests.Jacob Walls
Unused since its introduction in 7b21bfc0745f92f83a6826a3d3e58797fb74e32 and 1e4ad6f118007547c7e627f1d5bd11bfb2992bf9.
2021-02-18Fixed #32443 -- Removed "shifted" CSS class when admin's sidebar is disabled.Amir Ajorloo
2021-02-15Fixed #26607 -- Allowed customizing formset kwargs with ↵manav014
ModelAdmin.get_formset_kwargs(). Thanks Nick Pope for reviews.
2021-01-19Refs #32365 -- Allowed use of non-pytz timezone implementations.Paul Ganssle
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2021-01-12Fixed #31747 -- Fixed model enumeration via admin URLs.Jon Dufresne
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-01-12Fixed #29010, Fixed #29138 -- Added limit_choices_to and to_field support to ↵Johannes Maron
autocomplete fields. * Fixed #29010 -- Added limit_choices_to support to autocomplete fields. * Fixed #29138 -- Allowed autocomplete fields to target a custom to_field rather than the PK.
2020-12-18Fixed typo in tests/admin_views/test_history_view.py test name.Nick Pope
2020-11-10Avoided direct styles in admin templates.Claude Paroz
Direct styles might be forbidden by Content Security Policies.
2020-10-28Refs #25780 -- Removed redundant status code assertions from tests.Jon Dufresne
2020-10-26Fixed admin_views's test_history_view on databases that don't use serial pks.Tim Graham
2020-10-18Made test_change_list_sorting_model_admin_reverse's assertions more specific.Tim Graham
The test could fail on databases like CockroachDB that use non-serial primary keys if the numbers (2000, etc.) appeared in the pk values.
2020-10-09Fixed #32091 -- Fixed admin search bar width on filtered admin page.Tim Schilling
2020-10-08Fixed #31181 -- Added links to related models for admin's readonly fields.Julien Rebetez
2020-09-23Refs #32034 -- Added test for title on admin app index view.Raffaele Salmaso
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-09-11Fixed #31993 -- Added subtitles to admin change/view pages.Jon Dufresne