- 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.
14 lines
312 B
Python
14 lines
312 B
Python
"""
|
|
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'
|
|
|