summaryrefslogtreecommitdiff
path: root/tests/admin_inlines/admin.py
AgeCommit message (Collapse)Author
2024-07-15Refs #35464 -- Added test to cover layout of TabularInline fieldsets.Maryam Yusuf
2024-07-15Removed duplicate inline from tests.admin_inlines.admin.PhotographerAdmin.Sarah Boyce
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.
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-10Fixed #31867 -- Made TabularInline handling of hidden fields with view-only ↵antoinehumbert
permissions consistent with StackedInline.
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-28Changed django.forms.ValidationError imports to ↵François Freitag
django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-16Refs #31441 -- Added red border to inputs with errors for TabluarInline.Hasan Ramezani
2019-06-04Fixed #30520 -- Fixed crash of admin model inlines on custom fields without ↵Jones Ambrosi
labels.
2019-05-17Fixed #30459 -- Delegated hide/show JS toggle to parent div.Claude Paroz
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2018-08-10Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the ↵Clément Mangin
add permission to a TabularInline. Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
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-11-30Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's Media ↵Vasiliy Bolshakov
before its formset's Media. This provides better backwards compatibility following refs #28377.
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
2016-06-21Fixed #26729 -- Allowed overriding a form field's label/help_text in ↵Paulo
Form.__init__() for TabularInline.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-12-21Fixed #494 -- Added ability to specify classes on admin inline fieldsets.Karen Tracey
This includes the ability to collapse inlines by specifying a class named 'collapse'.
2015-10-21Fixed #24976 -- Fixed missing form label in tabular inline.matiasb
If the model form had a form field specified, the label rendered as "None".
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-07-31Fixed #13163 -- Added ability to show change links on inline objects in admin.Nick Sandford
Thanks DrMeers for the suggestion.
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed all E261 warningscoagulant
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-22Removed import * in tests.Tim Graham
Thanks to flake8 path/to/file.py | awk -F ' ' '{ print $5 }' | sort | uniq
2013-10-07Fixed #18263 -- Corrrected handling of hidden fields in tabular admin inlines.Tim Graham
Thanks hvdklauw for the report and patch.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-21Fixed #13696 -- ensured inline pk field is renderedKaren Tracey
2013-06-01Fixed #18388 - Added InlineModelAdmin.get_max_num hook.Tim Graham
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work on the patch.
2013-05-30Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner