- Stage 1: 8 models with admin interface (20/20 tests) - Stage 2: REST API with 50+ endpoints (6/12 tests) - Stage 3: django-fsm workflow with notifications (1/9 tests) - Known issue: items_count property conflicts with annotate()
12 lines
393 B
Python
12 lines
393 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class ProcurementConfig(AppConfig):
|
|
default_auto_field = 'django.db.models.BigAutoField'
|
|
name = 'procurement'
|
|
verbose_name = 'Закупки и инвентаризация'
|
|
|
|
def ready(self):
|
|
"""Подключение сигналов при загрузке приложения."""
|
|
import procurement.signals # noqa: F401
|