Enable HC on driver

This commit is contained in:
2022-01-05 12:19:42 +01:00
parent fa1bd1a73f
commit e9f129ac84
2 changed files with 25 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
from django.apps import AppConfig
from health_check.plugins import plugin_dir
class DriverConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'driver'
def ready(self):
from driver.health import DriverHealthCheck
plugin_dir.register(DriverHealthCheck)