mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-01 11:41:00 +00:00
12 lines
299 B
Python
12 lines
299 B
Python
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)
|