Add automation module to settings and update app labels
- Registered the new AutomationConfig in the INSTALLED_APPS of settings.py. - Set the app_label for AutomationRule and ScheduledTask models to 'automation' for better organization and clarity in the database schema.
This commit is contained in:
13
backend/igny8_core/modules/automation/apps.py
Normal file
13
backend/igny8_core/modules/automation/apps.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Automation App Configuration
|
||||
"""
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AutomationConfig(AppConfig):
|
||||
"""Configuration for automation module"""
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'igny8_core.modules.automation'
|
||||
label = 'automation'
|
||||
verbose_name = 'Automation'
|
||||
|
||||
Reference in New Issue
Block a user