Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields on the ↵ | Tom Carrick | 2023-03-27 | 1 | -6/+6 |
| | | | | | | | | | | same line. Thanks Antonio Candido Nazareth junior for the report. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -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 | ||||
* | Used more augmented assignment statements. | Nick Pope | 2022-10-31 | 1 | -6/+3 |
| | | | | | | Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | ||||
* | Used CSS flex for admin's submit row. | Tom Carrick | 2022-08-18 | 1 | -1/+4 |
| | |||||
* | Refs #31617 -- Added an id for helptext in admin forms. | David Smith | 2022-04-06 | 1 | -3/+1 |
| | |||||
* | Fixed #33547 -- Fixed error when rendering invalid inlines with readonly ↵ | Mariusz Felisiak | 2022-03-01 | 2 | -0/+20 |
| | | | | | | | fields in admin. Regression in de95c826673be9ea519acc86fd898631d1a11356. Thanks David Glenck for the report. | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -4/+4 |
| | | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -30/+54 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 5 | -646/+1045 |
| | |||||
* | Fixed #33211 -- Updated tests for Selenium 4.0.0. | Carlton Gibson | 2021-10-21 | 1 | -76/+98 |
| | | | | | Replaced deprecated `find_element[s]_by_*()` usages, in favour of `find_element[s]()` with an explicit `By`. | ||||
* | Refs #33211 -- Added assertCountSeleniumElements() test helper. | Carlton Gibson | 2021-10-21 | 1 | -87/+57 |
| | |||||
* | Removed blocking wait in admin inlines selenium test. | Carlton Gibson | 2021-09-22 | 1 | -7/+9 |
| | | | | find_elements_by_css_selector() implicitly waits the default timeout (10 seconds) looking for missing elements. | ||||
* | Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() when ↵ | Hasan Ramezani | 2021-09-21 | 3 | -4/+38 |
| | | | | | | | editing in admin change view. ModelAdmin.get_inlines() should get an unmutated object when creating formsets during POST request. | ||||
* | Fixed #32873 -- Deprecated settings.USE_L10N. | Claude Paroz | 2021-09-14 | 1 | -1/+1 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #31867 -- Made TabularInline handling of hidden fields with view-only ↵ | antoinehumbert | 2021-09-10 | 3 | -0/+166 |
| | | | | permissions consistent with StackedInline. | ||||
* | Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its ↵ | Siburg | 2021-09-08 | 1 | -0/+49 |
| | | | | verbose_name. | ||||
* | Refs #32219 -- Added admin model inline tests for verbose names. | Siburg | 2021-09-08 | 2 | -5/+131 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed typos in test comments. | luzpaz | 2021-06-07 | 1 | -1/+1 |
| | |||||
* | Refs #30231 -- Fixed SeleniumTests.test_inlines_verbose_name with headless mode. | David Smith | 2021-02-19 | 1 | -0/+4 |
| | | | | | Horizontal scrollbar doesn't appear with the headless mode on small windows, that's why window.scrollTo() is not an option for these tests even after fixing #32459. | ||||
* | Fixed #30231 -- Fixed admin filter horizontal/vertical verbose_name generation. | Teresa Partida | 2021-02-16 | 3 | -3/+115 |
| | | | | Co-authored-by: David Smith <smithdc@gmail.com> | ||||
* | Fixed #18549 -- Fixed heading for inlines with a OneToOneField. | Timothy McCurrach | 2021-01-18 | 3 | -2/+17 |
| | | | | Used verbose_name instead of verbose_name_plural. | ||||
* | Refs #18549 -- Added test for heading of foreign key inlines. | Timothy McCurrach | 2021-01-18 | 1 | -0/+5 |
| | |||||
* | Refs #25780 -- Removed redundant status code assertions from tests. | Jon Dufresne | 2020-10-28 | 1 | -2/+0 |
| | |||||
* | Fixed #31524 -- Removed minified static assets from the admin. | Jon Dufresne | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Fixed #31034 -- Added a navigation sidebar to the admin. | Tom Carrick | 2020-05-11 | 1 | -1/+3 |
| | | | | | Co-authored-by: elky <elky@users.noreply.github.com> Co-authored-by: Goetz <goetz.buerkle@gmail.com> | ||||
* | Changed django.forms.ValidationError imports to ↵ | François Freitag | 2020-04-28 | 1 | -1/+2 |
| | | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #29892 -- Fixed selenium test test_inline_formset_error_input_border on ↵ | Jon Dufresne | 2020-04-22 | 1 | -9/+36 |
| | | | | | | | | | | | | | | | | | | | Firefox. Firefox does not include shorthand properties, such as "border", in the computed CSS properties object. This is documented at MDN: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle > The returned CSSStyleDeclaration object contains active values for CSS > property longhand names. For example, border-bottom-width instead of > the border-width and border shorthand property names. It is safest to > query values with only longhand names like font-size. Shorthand names > like font will not work with most browsers. This difference between Firefox and Chrome is also discussed in the stackoverflow thread at: https://stackoverflow.com/a/32296604 | ||||
* | Fixed #31441 -- Ensured TabluarInline expands when child inputs have errors. | Hasan Ramezani | 2020-04-16 | 1 | -0/+41 |
| | |||||
* | Refs #31441 -- Added red border to inputs with errors for TabluarInline. | Hasan Ramezani | 2020-04-16 | 3 | -6/+81 |
| | |||||
* | Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows ↵ | Jon Dufresne | 2020-03-09 | 1 | -14/+0 |
| | | | | in admin. | ||||
* | Moved selenium import to nested scope. | Carlton Gibson | 2019-12-05 | 1 | -2/+1 |
| | |||||
* | Fixed CVE-2019-19118 -- Required edit permissions on parent model for ↵ | Carlton Gibson | 2019-12-02 | 1 | -0/+112 |
| | | | | | | editable inlines in admin. Thank you to Shen Ying for reporting this issue. | ||||
* | Fixed #30973 -- Converted selenium tests wait_page_loaded to context manager. | Johannes Hoppe | 2019-11-27 | 1 | -10/+10 |
| | |||||
* | Fixed #29087 -- Added delete buttons for unsaved admin inlines on validation ↵ | Carlton Gibson | 2019-10-25 | 2 | -1/+103 |
| | | | | error. | ||||
* | Fixed #30520 -- Fixed crash of admin model inlines on custom fields without ↵ | Jones Ambrosi | 2019-06-04 | 2 | -3/+44 |
| | | | | labels. | ||||
* | Fixed #30459 -- Delegated hide/show JS toggle to parent div. | Claude Paroz | 2019-05-17 | 2 | -2/+34 |
| | | | | Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit ↵ | Tim Graham | 2019-03-30 | 2 | -2/+52 |
| | | | | through model from being editable if the user only has the view permission. | ||||
* | Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient. | Matthias Kestenholz | 2019-02-27 | 1 | -2/+2 |
| | | | | Thanks gasman for the tests, and codingjoe and timgraham for the review. | ||||
* | Updated test URL patterns to use path() and re_path(). | Tim Graham | 2018-12-31 | 1 | -2/+2 |
| | |||||
* | Made reused RequestFactory instances class attributes. | Simon Charette | 2018-11-27 | 1 | -1/+2 |
| | |||||
* | Adjusted code style of a few test data setup methods. | Simon Charette | 2018-11-27 | 1 | -4/+2 |
| | | | | Thanks Mariusz for suggesting it. | ||||
* | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | 2018-11-27 | 1 | -29/+31 |
| | |||||
* | Fixed #29953 -- Added CSS class to column headers in tabular inlines. | redodo | 2018-11-20 | 2 | -4/+19 |
| | | | | The class name is the same as one given to the fields in the change list. | ||||
* | Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the ↵ | Clément Mangin | 2018-08-10 | 2 | -10/+29 |
| | | | | | | add permission to a TabularInline. Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47. | ||||
* | Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't ↵ | Paulo Alvarado | 2018-05-18 | 3 | -3/+31 |
| | | | | | have the change permission. Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47. | ||||
* | Fixed #29184 -- Made TabularInline respect model form's Meta.labels and ↵ | Hasan Ramezani | 2018-03-17 | 3 | -0/+19 |
| | | | | help_texts. | ||||
* | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | 2018-01-21 | 1 | -35/+35 |
| | |||||
* | Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's Media ↵ | Vasiliy Bolshakov | 2017-11-30 | 2 | -0/+19 |
| | | | | | | before its formset's Media. This provides better backwards compatibility following refs #28377. | ||||
* | Fixed #27967 -- Fixed KeyError in admin's inline form with inherited ↵ | Paulo | 2017-06-12 | 3 | -5/+30 |
| | | | | | | non-editable pk. Thanks Robin Anupol for the initial report and workaround. | ||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 2 | -2/+2 |
| |