Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/check_framework
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25500 -- Added --fail-level option to check command.Jon Dufresne2015-10-051-1/+6
| | | | | This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``.
* Refs #23813 -- Moved URLconfs into module and tidied ↵Alasdair Nicol2015-09-229-48/+30
| | | | docstrings.
* Fixed #23813 -- Added checks for common URL pattern errorsAlasdair Nicol2015-09-215-0/+85
| | | | | Thanks jwa and lamby for the suggestions, and timgraham and jarshwah for their reviews.
* Used more specific assertion in check_framework tests.Alasdair Nicol2015-09-201-2/+2
|
* Fixed #25034 -- Converted caches ImproperlyConfigured ↵Tom Christie2015-09-181-0/+35
| | | | error to a system check.
* Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all ↵Tim Graham2015-08-281-8/+2
| | | | | | | messages. Previously, messages of ERROR level or higher were printed to the console.
* Fixed #25172 -- Fixed check framework to work with ↵Ion Scerbatiuc2015-08-131-0/+43
| | | | multiple databases.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-2/+6
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24966 -- Added deployment system check for empty ↵rroskam2015-07-151-0/+15
| | | | ALLOWED_HOSTS.
* Fixed #25079 -- Added warning if both TEMPLATES and ↵Daniel Roseman2015-07-131-0/+29
| | | | | | | | | | | | TEMPLATE_* settings are defined. Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also set, which is confusing for users following older tutorials. This change adds a system check that warns if any of the TEMPLATE_* settings have changed from their defaults but the TEMPLATES dict is also non-empty. Removed the TEMPLATE_DIRS from the test settings file; this was marked for removal in 1.10 but no tests fail if it is removed now.
* Fixed tests from refs #24922 when run in reverse.Tim Graham2015-06-081-2/+4
|
* Fixed #24922 -- Added system check for templates settingSergei Maertens2015-06-071-0/+39
| | | | | | If `'loaders'` is present in the `TEMPLATES` options together with `APP_DIRS` set to `True`, the template engine raises an exception. This conflict is now detected by the system check templates.E001.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-202-22/+22
|
* Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.Tim Graham2015-02-101-37/+0
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-8/+6
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-1/+1
|
* Fixed test failures introduced in refs #23861.Tim Graham2015-01-052-4/+7
|
* Fixed #23861 -- Added an API to deprecate model fields.Tim Graham2015-01-051-0/+83
| | | | Thanks Markus Holterman and Berker Peksag for review.
* Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães2014-11-281-4/+6
| | | | | Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
* Fixed #23765 -- Removed BooleanField default check which ↵Tim Graham2014-11-132-34/+1
| | | | often yielded false positives.
* Fixed #23750 -- Allowed core.checks.register to be used ↵averybigant2014-11-111-6/+36
| | | | as a function
* Fixed #23469 -- Removed test runner compatibility check ↵Tim Graham2014-10-171-41/+0
| | | | which often yielded false positives.
* Fixed #23615 -- Validate that a Model instance's "check" ↵Rigel Di Scala2014-10-161-0/+55
| | | | | | | | | | | | attribute is a method. The "check" name is a reserved word used by Django's check framework, and cannot be redefined as something else other than a method, or the check framework will raise an error. This change amends the django.core.checks.model_check.check_all_models() function, so that it verifies that a model instance's attribute "check" is actually a method. This new check is assigned the id "models.E020".
* Minor cleanup in the check_framework test package.Loic Bistuer2014-10-162-26/+21
|
* Fixed #17101 -- Integrated django-secure and added check ↵Tim Graham2014-09-122-0/+514
| | | | | | | | | --deploy option Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews.
* Added spaces to message from ↵Tim Graham2014-06-301-2/+2
| | | | 4c39c270af91ddbc213e077fc06b4bf67c7c6e99.
* Fixed #22477 -- Removed contrib middleware from the ↵mlavin2014-06-131-0/+35
| | | | | | | | global settings defaults. Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
* Fixed a test failure introduced by 214d1e1b0f.Simon Charette2014-04-181-1/+1
|
* Fixed #22194 -- Added --list-tags option to check command.Tim Graham2014-04-101-0/+10
| | | | Thanks Elvard for the patch.
* Corrected expected test output to allow for cleanups in ↵Russell Keith-Magee2014-03-031-1/+1
| | | | signal and compatibility checks.
* Fixed #21849 -- Included the count of silenced system ↵Tim Graham2014-01-281-8/+42
| | | | checks in output.
* Fix a check_framework test so it doesn't fail when ↵Carl Meyer2014-01-211-3/+7
| | | | TEST_RUNNER is set (e.g. on CI).
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-203-0/+238
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.