summaryrefslogtreecommitdiff
path: root/tests/admin_inlines/models.py
AgeCommit message (Collapse)Author
2025-08-05Fixed #36079 -- Fixed text size of TabularInline object titles.antoliny0919
2024-09-12Fixed #35755 -- Hid help text of hidden fields in admin fieldsets.Richard Laager
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
2024-05-22Fixed #35393 -- Added excluded pk as a hidden field to the inline admin.Willem Van Onsem
2024-05-22Refs #35189 -- Improved admin fieldset's accessibility by setting ↵Marijke Luttekes
aria-labelledby. Before this change, HTML <fieldset> elements in the admin site did not have an associated label to describe them. This commit defines a unique HTML id for the heading labeling a fieldset, and sets its aria-labelledby property to link the heading with the fieldset.
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2022-03-01Fixed #33547 -- Fixed error when rendering invalid inlines with readonly ↵Mariusz Felisiak
fields in admin. Regression in de95c826673be9ea519acc86fd898631d1a11356. Thanks David Glenck for the report.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-21Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() when ↵Hasan Ramezani
editing in admin change view. ModelAdmin.get_inlines() should get an unmutated object when creating formsets during POST request.
2021-09-08Refs #32219 -- Added admin model inline tests for verbose names.Siburg
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-02-16Fixed #30231 -- Fixed admin filter horizontal/vertical verbose_name generation.Teresa Partida
Co-authored-by: David Smith <smithdc@gmail.com>
2021-01-18Fixed #18549 -- Fixed heading for inlines with a OneToOneField.Timothy McCurrach
Used verbose_name instead of verbose_name_plural.
2020-04-16Refs #31441 -- Added red border to inputs with errors for TabluarInline.Hasan Ramezani
2019-10-25Fixed #29087 -- Added delete buttons for unsaved admin inlines on validation ↵Carlton Gibson
error.
2019-03-30Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit ↵Tim Graham
through model from being editable if the user only has the view permission.
2018-11-20Fixed #29953 -- Added CSS class to column headers in tabular inlines.redodo
The class name is the same as one given to the fields in the change list.
2018-05-18Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't ↵Paulo Alvarado
have the change permission. Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-03-17Fixed #29184 -- Made TabularInline respect model form's Meta.labels and ↵Hasan Ramezani
help_texts.
2017-06-12Fixed #27967 -- Fixed KeyError in admin's inline form with inherited ↵Paulo
non-editable pk. Thanks Robin Anupol for the initial report and workaround.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-07Fixed #18263 -- Corrrected handling of hidden fields in tabular admin inlines.Tim Graham
Thanks hvdklauw for the report and patch.
2013-07-21Fixed #13696 -- ensured inline pk field is renderedKaren Tracey
2013-05-30Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-03-04Fixed #19838 -- Admin: Don't leak a 500 HTTP status when trying to delete ↵Javier Mansilla
protected FKs. Thanks rafadev for the report and Javier Mansilla for the fix.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner