2014-05-16 01:41:55 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
2014-01-20 10:45:21 +08:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from .messages import (CheckMessage,
|
|
|
|
Debug, Info, Warning, Error, Critical,
|
|
|
|
DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
2014-04-10 20:45:48 +08:00
|
|
|
from .registry import register, run_checks, tag_exists, Tags
|
2014-01-20 10:45:21 +08:00
|
|
|
|
|
|
|
# Import these to force registration of checks
|
|
|
|
import django.core.checks.compatibility.django_1_6_0 # NOQA
|
2014-04-20 20:58:29 +08:00
|
|
|
import django.core.checks.compatibility.django_1_7_0 # NOQA
|
2014-01-20 10:45:21 +08:00
|
|
|
import django.core.checks.model_checks # NOQA
|
2014-09-13 02:50:36 +08:00
|
|
|
import django.core.checks.security.base # NOQA
|
|
|
|
import django.core.checks.security.csrf # NOQA
|
|
|
|
import django.core.checks.security.sessions # NOQA
|
2014-01-20 10:45:21 +08:00
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'CheckMessage',
|
|
|
|
'Debug', 'Info', 'Warning', 'Error', 'Critical',
|
|
|
|
'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL',
|
2014-04-10 20:45:48 +08:00
|
|
|
'register', 'run_checks', 'tag_exists', 'Tags',
|
2014-01-20 10:45:21 +08:00
|
|
|
]
|