website/website/spotify/apps.py

12 lines
290 B
Python
Raw Permalink Normal View History

2023-08-19 13:00:01 +01:00
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)