blob: 18eda9e3a9de7785d143dbf0f7a570f7055366d1 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | from django.apps import AppConfig
class ApiConfig(AppConfig):
    """Django AppConfig for the API app."""
    name = 'pydis_site.apps.api'
    def ready(self) -> None:
        """
        Gets called as soon as the registry is fully populated.
        https://docs.djangoproject.com/en/3.2/ref/applications/#django.apps.AppConfig.ready
        """
        import pydis_site.apps.api.signals  # noqa: F401
 |