Skip to content

apps

django_spire.file.apps

FileConfig

Bases: AppConfig

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

label = 'django_spire_file' class-attribute instance-attribute

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

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

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

URLPATTERNS_NAMESPACE = 'file' class-attribute instance-attribute

ready

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