You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 936B

123456789101112131415161718192021222324
  1. from .messages import (
  2. CRITICAL, DEBUG, ERROR, INFO, WARNING, CheckMessage, Critical, Debug,
  3. Error, Info, Warning,
  4. )
  5. from .registry import Tags, register, run_checks, tag_exists
  6. # Import these to force registration of checks
  7. import django.core.checks.caches # NOQA isort:skip
  8. import django.core.checks.database # NOQA isort:skip
  9. import django.core.checks.model_checks # NOQA isort:skip
  10. import django.core.checks.security.base # NOQA isort:skip
  11. import django.core.checks.security.csrf # NOQA isort:skip
  12. import django.core.checks.security.sessions # NOQA isort:skip
  13. import django.core.checks.templates # NOQA isort:skip
  14. import django.core.checks.translation # NOQA isort:skip
  15. import django.core.checks.urls # NOQA isort:skip
  16. __all__ = [
  17. 'CheckMessage',
  18. 'Debug', 'Info', 'Warning', 'Error', 'Critical',
  19. 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL',
  20. 'register', 'run_checks', 'tag_exists', 'Tags',
  21. ]