apps.py 289 B

12345678910111213
  1. # Copyright © 2023 Ingram Micro Inc. All rights reserved.
  2. from django.apps import AppConfig
  3. from django.conf import settings
  4. from dj_cqrs._validation import validate_settings
  5. class CQRSConfig(AppConfig):
  6. name = 'dj_cqrs'
  7. def ready(self):
  8. validate_settings(settings)