Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/admin_checks
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-6/+14
|
* Fixed #25374 -- Made ModelAdmin checks work on instances ↵Malcolm Box2015-09-111-58/+55
| | | | | | | instead of classes. This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors.
* Fixed #25267 -- Corrected message for admin.E122 system ↵Fabrizio Ettore Messina2015-08-131-0/+16
| | | | check.
* Fixed #25206 -- Fixed error message when checking a ↵Alasdair Nicol2015-08-031-4/+4
| | | | ModelAdmin fieldset's fields.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-7/+7
| | | | on_delete for ForeignKey/OneToOneField
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Fixed #24146 -- Allowed model._meta.get_field() to be ↵Daniel Pyrathon2015-02-112-0/+18
| | | | used after apps.models_ready
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-3/+3
|
* Removed support for admin validators per deprecation ↵Tim Graham2015-01-181-22/+1
| | | | timeline; refs #16905.
* Fixed #24089 -- Added check for when ↵Muthiah Annamalai2015-01-121-0/+49
| | | | ModelAdmin.fieldsets[1]['fields'] isn't a list/tuple.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-15/+11
|
* Fixed #23497 -- Made admin system checks run for custom ↵Mosson, Andrew2014-12-171-5/+23
| | | | AdminSites.
* Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães2014-11-281-0/+5
| | | | | Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
* Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-041-2/+2
|
* Fix many many typos in comments throughout the codebaseAlex Gaynor2014-04-261-1/+1
|
* 4 flake8 warning fixesAlex Gaynor2014-03-091-0/+1
|
* Fixed #22034 -- Added a specific set of relation checks ↵Russell Keith-Magee2014-03-082-2/+134
| | | | | | for GenericInlineModelAdmin. Thanks to jwa for the report.
* Edited contrib.admin check messages for grammar and ↵Russell Keith-Magee2014-03-031-20/+20
| | | | consistency.
* Fixed #22018 -- Fixed checks for ModelAdmin.fields not ↵Aaron France2014-02-151-0/+34
| | | | | | | | | | | | | | | | | | handling sub-lists. 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.
* Fixed typo in error message.Arne Brodowski2014-01-241-1/+1
|
* Fixed #21870 -- Admin check for list_editable_itemArne Brodowski2014-01-241-0/+24
| | | | | | | 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.
* Added warning silencers to some noisy tests.Russell Keith-Magee2014-01-201-9/+14
| | | | | | These warnings all emerged as the result of the introduction of the checks framework. Thanks to Anssi Kääriäinen for the report.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-203-0/+493
framework 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.