summaryrefslogtreecommitdiff
path: root/tests/admin_checks
AgeCommit message (Collapse)Author
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.