summaryrefslogtreecommitdiff
path: root/tests/admin_checks
AgeCommit message (Collapse)Author
2019-03-14[2.2.x] Fixed #30237 -- Made Authentication/SessionMiddleware and ↵Herman S
ModelBackend admin checks allow subclasses. Backport of f976ab1b117574db78d884c94e549a6b8e4c9f9b from master.
2018-10-04Removed Jinja2 dependency from admin_checks tests.Jon Dufresne
2018-08-20Fixed #29695 -- Added system checks for admin's app dependencies and ↵Rodrigo
TEMPLATES setting.
2018-08-19Fixed admin_checks tests to run in isolation.Jon Dufresne
2017-11-06Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
2017-06-02Improved test coverage of contrib/admin/checks.py.Anton Samarchyan
2017-02-03Fixed spelling of "nonexistent".Tim Graham
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
2017-01-10Fixed #26961 -- Made admin checks run when DEBUG=False.Adam Chainz
2017-01-10Fixed #27673 -- Made admin's checks run at check time instead of during ↵Adam Chainz
registration. Thanks Morgan Aubert for the test.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-08-23Fixed #26998 -- Reverted some admin checks from checking field.many_to_many ↵Collin Anderson
back to isinstance(field, models.ManyToManyField). This partially reverts 983c158da7723eb00a376bd31db76709da4d0260
2016-03-19Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-01-22Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks.Vincenzo Pandolfo
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-11Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes.Malcolm Box
This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors.
2015-08-13Fixed #25267 -- Corrected message for admin.E122 system check.Fabrizio Ettore Messina
2015-08-03Fixed #25206 -- Fixed error message when checking a ModelAdmin fieldset's ↵Alasdair Nicol
fields.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-02-10Fixed #24146 -- Allowed model._meta.get_field() to be used after ↵Daniel Pyrathon
apps.models_ready
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-18Removed support for admin validators per deprecation timeline; refs #16905.Tim Graham
2015-01-12Fixed #24089 -- Added check for when ModelAdmin.fieldsets[1]['fields'] isn't ↵Muthiah Annamalai
a list/tuple.
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-17Fixed #23497 -- Made admin system checks run for custom AdminSites.Mosson, Andrew
2014-11-27Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães
Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-03-084 flake8 warning fixesAlex Gaynor
2014-03-08Fixed #22034 -- Added a specific set of relation checks for ↵Russell Keith-Magee
GenericInlineModelAdmin. Thanks to jwa for the report.
2014-03-03Edited contrib.admin check messages for grammar and consistency.Russell Keith-Magee
2014-02-15Fixed #22018 -- Fixed checks for ModelAdmin.fields not handling sub-lists.Aaron France
Flatten a level of sublists before checking for duplicate fields. When given sublists such as: ```python class FooAdmin(admin.ModelAdmin): fields = ('one', ('one', 'two')) ``` The previous code did not correctly detect the duplicated 'one' field. Thanks to jwa for the report.
2014-01-24Fixed typo in error message.Arne Brodowski
2014-01-24Fixed #21870 -- Admin check for list_editable_itemArne Brodowski
During the admin check for list_editable _check_list_editable_item should return an empty list if all checks pass. Additionally the Testcase test_readonly_and_editable was changed to test what the name implies instead of duplicating the logic of test_readonly.
2014-01-20Added warning silencers to some noisy tests.Russell Keith-Magee
These warnings all emerged as the result of the introduction of the checks framework. Thanks to Anssi Kääriäinen for the report.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.