feat(integrations): архитектура включения/выключения интеграций
- Удалена лишняя модель IntegrationConfig из system_settings - Singleton-паттерн: одна запись на интеграцию с is_active тумблером - Добавлено шифрование токенов (EncryptedCharField с Fernet AES-128) - UI: тумблеры слева, форма настроек справа - API endpoints: toggle, settings, form_data - Модель Recommerce: store_url + api_token (x-auth-token) - Модель WooCommerce: store_url + consumer_key/secret Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
from .integration_config import IntegrationConfig
|
||||
|
||||
__all__ = ['IntegrationConfig']
|
||||
# Models for system_settings app
|
||||
# IntegrationConfig removed - using integrations app models directly
|
||||
|
||||
Reference in New Issue
Block a user