| Age | Commit message (Collapse) | Author |
|
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".
Conflicts:
docs/ref/checks.txt
Backport of a5c77417a6 from master
|
|
Backport of add78c58b5 from master
|
|
defaults.
Also added a compatibility check for changed middleware defaults.
|
|
Backport of 9bc377d7d0 from master
|
|
Thanks Elvard for the patch.
Backport of 395d75ea6b from master
|
|
compatibility checks.
|
|
|
|
on CI).
|
|
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.
|