This commit is contained in:
2024-12-21 21:56:15 +09:00
parent 1e64a432ab
commit c535a51953
42 changed files with 1069 additions and 0 deletions

14
app_settings/apps.py Normal file
View File

@@ -0,0 +1,14 @@
from django.apps import AppConfig, apps
class AppSettingsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'app_settings'
def ready(self):
# Проверяем, что приложения готовы
if not apps.ready:
return
try:
import app_settings.signals # Регистрация сигналов
except ImportError as e:
print(f"Ошибка импорта signals: {e}")