Skip to content

apps

django_spire.knowledge.apps

KnowledgeConfig

Bases: AppConfig

default_auto_field = 'django.db.models.BigAutoField' class-attribute instance-attribute

label = 'django_spire_knowledge' class-attribute instance-attribute

name = 'django_spire.knowledge' class-attribute instance-attribute

MODEL_PERMISSIONS = ({'name': 'knowledge', 'verbose_name': 'Knowledge', 'model_class_path': 'django_spire.knowledge.collection.models.Collection', 'is_proxy_model': False},) class-attribute instance-attribute

REQUIRED_APPS = ('django_spire_core',) class-attribute instance-attribute

URLPATTERNS_INCLUDE = 'django_spire.knowledge.urls' class-attribute instance-attribute

URLPATTERNS_NAMESPACE = 'knowledge' class-attribute instance-attribute

ready

Source code in django_spire/knowledge/apps.py
def ready(self) -> None:
    check_required_apps(self.label)