def checks(): from django.core.checks.registry import registry return registry.run_checks()
def checks(): from django.core.checks.registry import registry return [e for e in registry.run_checks() if not e.is_silenced()]