summaryrefslogtreecommitdiffstats
path: root/core/apps.py
blob: 6098f6bc80ef36c807f822a0c2cdee1f4cbb3d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from django.apps import AppConfig
from pyld import jsonld

from core.ld import builtin_document_loader


class CoreConfig(AppConfig):
    default_auto_field = "django.db.models.BigAutoField"
    name = "core"

    def ready(self) -> None:
        jsonld.set_document_loader(builtin_document_loader)