1
0
mirror of https://github.com/django/django.git synced 2025-04-01 20:16:43 +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-02-28 21:03:46 -05:00
2014-08-05 08:23:34 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2014-08-05 08:23:34 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2014-02-25 10:28:32 -05:00
2012-08-31 20:35:50 +02:00
2014-02-25 10:28:32 -05:00
2012-08-31 20:35:50 +02:00
2014-02-25 10:28:32 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-07 09:42:25 -05:00
2014-08-20 16:31:45 -04:00
2014-09-02 21:34:29 -04:00
2013-03-28 15:03:19 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-09 10:17:17 -05:00
2014-05-15 07:16:25 -04:00
2014-08-20 16:31:45 -04:00
2014-09-02 21:34:29 -04:00
2014-05-15 07:16:25 -04:00
2014-08-20 16:31:45 -04:00
2014-09-02 21:34:29 -04:00