12 lines
290 B
Python
12 lines
290 B
Python
|
from django.apps import AppConfig
|
||
|
from health_check.plugins import plugin_dir
|
||
|
|
||
|
|
||
|
class SpotifyAppConfig(AppConfig):
|
||
|
name = "website.spotify"
|
||
|
|
||
|
def ready(self) -> None:
|
||
|
from .healthchecks import SpotifyHealthCheckBackend
|
||
|
|
||
|
plugin_dir.register(SpotifyHealthCheckBackend)
|