summaryrefslogtreecommitdiff
path: root/tests/admin_inlines
AgeCommit message (Collapse)Author
2019-03-30[2.2.x] Fixed #30289 -- Prevented admin inlines for a ManyToManyField's ↵Tim Graham
implicit through model from being editable if the user only has the view permission. Backport of 8335d59200e4c64dfe3348ea93989d95e0107439 from master.
2019-02-27[2.2.x] Fixed #30179 -- Fixed form Media merging when pairwise merging is ↵Matthias Kestenholz
insufficient. Thanks gasman for the tests, and codingjoe and timgraham for the review. Backport of 231b513926f2bfd71f08058ce5013bd81678ac01 from master.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-27Adjusted code style of a few test data setup methods.Simon Charette
Thanks Mariusz for suggesting it.
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
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-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.
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
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
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-10Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.Alexander Gaevsky
2016-09-09Fixed #27199 -- Made AdminIntegerFieldWidget use NumberInput.Rinat Khabibiev
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
2016-03-15Fixed #25364 -- Added generic way to test on all browsers supported by selenium.Akshesh
Browser names should be passed as a comma separated list to the --selenium flag. Thanks Tim Graham, Simon Charette and Moritz Sichert for review and discussion.
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-11Refs #494 -- Fixed a flaky admin_inlines tests.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
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-12-05Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
2015-11-21Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov
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-09-23Refs #23444 -- Removed InlineAdminForm.original_content_type_id per ↵Tim Graham
deprecation timeline.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-04Fixed #25348 -- Removed unused gif/png images from contrib.admin.elky
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-27Fixed #20597 -- Replaced admin GIF/PNG icons by SVGelky
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
2015-03-30Fixed #24466 -- Added JavaScript escaping in a couple places in the admin.Tim Graham
Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
2015-03-05Fixed admin selenium tests broken by removal of fixtures.Tim Graham
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-02-08Replaced hardcoded URLs in admin_* testsClaude Paroz
Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2014-12-16Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.Diego Guimarães
2014-11-29Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham
2014-10-23Fixed #23444 -- Deprecated ↵a1tus
django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
2014-07-31Fixed #13163 -- Added ability to show change links on inline objects in admin.Nick Sandford
Thanks DrMeers for the suggestion.