diff options
author | 2022-02-20 21:20:29 -0500 | |
---|---|---|
committer | 2022-02-20 21:20:29 -0500 | |
commit | 0e1257d6eca90fa45ba7c11454a0fba7e3fc74f7 (patch) | |
tree | e3ad78be879f615b2621c0afba9db813e70fafff /pydis_site/apps/api/apps.py | |
parent | Add table of content and final edits (diff) | |
parent | Merge pull request #668 from python-discord/update/name-profile-policy (diff) |
Merge branch 'main' into content/update-help-channel-timing
Diffstat (limited to 'pydis_site/apps/api/apps.py')
-rw-r--r-- | pydis_site/apps/api/apps.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pydis_site/apps/api/apps.py b/pydis_site/apps/api/apps.py index 76810b2e..18eda9e3 100644 --- a/pydis_site/apps/api/apps.py +++ b/pydis_site/apps/api/apps.py @@ -4,4 +4,12 @@ from django.apps import AppConfig class ApiConfig(AppConfig): """Django AppConfig for the API app.""" - name = 'api' + 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 |