mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Enable HC on driver
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user