Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #2259 -- Disallowed primary keys in ModelAdmin.list_editable. | siddhartha-star-dev | 2022-04-25 | 1 | -0/+17 |
| | | | | Refs #32728. | ||||
* | Fixed #31169 -- Adapted the parallel test runner to use spawn. | David Smith | 2022-03-15 | 1 | -0/+2 |
| | | | | | Co-authored-by: Valz <ahmadahussein0@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -4/+7 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -178/+217 |
| | |||||
* | Corrected messages of admin checks for invalid model field names. | Hasan Ramezani | 2021-03-04 | 1 | -2/+2 |
| | |||||
* | Fixed #16117 -- Added decorators for admin action and display functions. | Nick Pope | 2021-01-13 | 1 | -0/+4 |
| | | | Refs #25134, #32099. | ||||
* | Fixed #31616 -- Added hint about middleware ordering for SessionMiddleware ↵ | Hasan Ramezani | 2020-05-25 | 1 | -0/+6 |
| | | | | admin check. | ||||
* | Fixed #31575 -- Added system check for admin sidebar request context ↵ | Jon Dufresne | 2020-05-14 | 1 | -1/+11 |
| | | | | | | processor dependency. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Fixed #31086 -- Improved error message for admin model inlines with more ↵ | Shubham singh | 2019-12-17 | 1 | -1/+3 |
| | | | | than one foreign key to the same parent. | ||||
* | Refs #12679 -- Added test for using property as ModelAdmin.inlines. | Baptiste Mispelon | 2019-12-14 | 1 | -0/+12 |
| | | | | Fixed in 1d8eb0cae57731b481a88dca272b2cb0d645bd8e. | ||||
* | Fixed #30312 -- Relaxed admin check from django.contrib.sessions to ↵ | Aarni Koskela | 2019-04-26 | 1 | -7/+13 |
| | | | | SessionMiddleware subclasses. | ||||
* | Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin ↵ | Herman S | 2019-03-14 | 1 | -0/+51 |
| | | | | checks allow subclasses. | ||||
* | Removed Jinja2 dependency from admin_checks tests. | Jon Dufresne | 2018-10-04 | 1 | -1/+1 |
| | |||||
* | Fixed #29695 -- Added system checks for admin's app dependencies and ↵ | Rodrigo | 2018-08-20 | 1 | -6/+81 |
| | | | | TEMPLATES setting. | ||||
* | Fixed admin_checks tests to run in isolation. | Jon Dufresne | 2018-08-19 | 1 | -6/+6 |
| | |||||
* | Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | 2017-11-06 | 1 | -1/+1 |
| | |||||
* | Improved test coverage of contrib/admin/checks.py. | Anton Samarchyan | 2017-06-02 | 1 | -0/+41 |
| | |||||
* | Fixed spelling of "nonexistent". | Tim Graham | 2017-02-03 | 1 | -10/+13 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #26961 -- Made admin checks run when DEBUG=False. | Adam Chainz | 2017-01-10 | 1 | -3/+0 |
| | |||||
* | Fixed #27673 -- Made admin's checks run at check time instead of during ↵ | Adam Chainz | 2017-01-10 | 1 | -3/+24 |
| | | | | | | registration. Thanks Morgan Aubert for the test. | ||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -5/+4 |
| | |||||
* | Fixed #26998 -- Reverted some admin checks from checking field.many_to_many ↵ | Collin Anderson | 2016-08-23 | 1 | -3/+3 |
| | | | | | | back to isinstance(field, models.ManyToManyField). This partially reverts 983c158da7723eb00a376bd31db76709da4d0260 | ||||
* | Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many | Claude Paroz | 2016-03-19 | 1 | -3/+3 |
| | | | | Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews. | ||||
* | Removed unneeded hint=None/obj=None in system check messages. | Tim Graham | 2016-02-12 | 1 | -33/+12 |
| | |||||
* | Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks. | Vincenzo Pandolfo | 2016-01-22 | 1 | -0/+38 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -6/+14 |
| | |||||
* | Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes. | Malcolm Box | 2015-09-11 | 1 | -58/+55 |
| | | | | | This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors. | ||||
* | Fixed #25267 -- Corrected message for admin.E122 system check. | Fabrizio Ettore Messina | 2015-08-13 | 1 | -0/+16 |
| | |||||
* | Fixed #25206 -- Fixed error message when checking a ModelAdmin fieldset's ↵ | Alasdair Nicol | 2015-08-03 | 1 | -4/+4 |
| | | | | fields. | ||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -7/+7 |
| | | | | ForeignKey/OneToOneField | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+2 |
| | |||||
* | Fixed #24146 -- Allowed model._meta.get_field() to be used after ↵ | Daniel Pyrathon | 2015-02-10 | 2 | -0/+18 |
| | | | | apps.models_ready | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 2 | -3/+3 |
| | |||||
* | Removed support for admin validators per deprecation timeline; refs #16905. | Tim Graham | 2015-01-18 | 1 | -22/+1 |
| | |||||
* | Fixed #24089 -- Added check for when ModelAdmin.fieldsets[1]['fields'] isn't ↵ | Muthiah Annamalai | 2015-01-12 | 1 | -0/+49 |
| | | | | a list/tuple. | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -15/+11 |
| | |||||
* | Fixed #23497 -- Made admin system checks run for custom AdminSites. | Mosson, Andrew | 2014-12-17 | 1 | -5/+23 |
| | |||||
* | Fixed #23338 -- Added warning when unique=True on ForeigKey | Diego Guimarães | 2014-11-27 | 1 | -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_fixer | Veres Lajos | 2014-11-03 | 1 | -2/+2 |
| | |||||
* | Fix many many typos in comments throughout the codebase | Alex Gaynor | 2014-04-26 | 1 | -1/+1 |
| | |||||
* | 4 flake8 warning fixes | Alex Gaynor | 2014-03-08 | 1 | -0/+1 |
| | |||||
* | Fixed #22034 -- Added a specific set of relation checks for ↵ | Russell Keith-Magee | 2014-03-08 | 2 | -2/+134 |
| | | | | | | GenericInlineModelAdmin. Thanks to jwa for the report. | ||||
* | Edited contrib.admin check messages for grammar and consistency. | Russell Keith-Magee | 2014-03-03 | 1 | -20/+20 |
| | |||||
* | Fixed #22018 -- Fixed checks for ModelAdmin.fields not handling sub-lists. | Aaron France | 2014-02-15 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | 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 Brodowski | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | Fixed #21870 -- Admin check for list_editable_item | Arne Brodowski | 2014-01-24 | 1 | -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-Magee | 2014-01-20 | 1 | -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. |