2015-06-16 02:07:31 +08:00
|
|
|
from .messages import (
|
|
|
|
CRITICAL,
|
|
|
|
DEBUG,
|
|
|
|
ERROR,
|
|
|
|
INFO,
|
|
|
|
WARNING,
|
|
|
|
CheckMessage,
|
|
|
|
Critical,
|
|
|
|
Debug,
|
|
|
|
Error,
|
|
|
|
Info,
|
|
|
|
Warning,
|
|
|
|
)
|
|
|
|
from .registry import Tags, register, run_checks, tag_exists
|
2014-01-20 10:45:21 +08:00
|
|
|
|
|
|
|
# Import these to force registration of checks
|
2020-03-21 04:20:48 +08:00
|
|
|
import django.core.checks.async_checks # NOQA isort:skip
|
2015-09-02 20:20:46 +08:00
|
|
|
import django.core.checks.caches # NOQA isort:skip
|
2021-01-13 08:55:02 +08:00
|
|
|
import django.core.checks.compatibility.django_4_0 # NOQA isort:skip
|
2016-03-19 19:15:09 +08:00
|
|
|
import django.core.checks.database # NOQA isort:skip
|
2021-01-21 00:12:24 +08:00
|
|
|
import django.core.checks.files # NOQA isort:skip
|
2015-06-16 02:07:31 +08:00
|
|
|
import django.core.checks.model_checks # NOQA isort:skip
|
|
|
|
import django.core.checks.security.base # NOQA isort:skip
|
|
|
|
import django.core.checks.security.csrf # NOQA isort:skip
|
|
|
|
import django.core.checks.security.sessions # NOQA isort:skip
|
|
|
|
import django.core.checks.templates # NOQA isort:skip
|
2018-09-03 16:43:55 +08:00
|
|
|
import django.core.checks.translation # NOQA isort:skip
|
2015-09-17 06:07:39 +08:00
|
|
|
import django.core.checks.urls # NOQA isort:skip
|
|
|
|
|
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
|
|
|
]
|