1
0
mirror of https://github.com/django/django.git synced 2025-02-01 13:19:18 +00:00
Rigel Di Scala a5c77417a6 Fixed #23615 -- Validate that a Model instance's "check" 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".
2014-10-16 23:49:21 +07:00
..
2014-10-08 18:10:50 -04:00
2014-10-08 05:11:09 +07:00
2014-08-18 13:44:10 -04:00
2014-09-29 08:13:40 -04:00
2014-10-15 16:36:11 -04:00
2014-09-24 06:32:42 -04:00
2014-09-29 08:13:40 -04:00
2014-09-09 20:55:57 +02:00