20 lines
571 B
Python
20 lines
571 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class AuditConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "infrasynth.audit"
|
|
label = "infrasynth_audit"
|
|
|
|
def ready(self):
|
|
from infrasynth.features.registry import FeatureRegistry
|
|
|
|
from . import receivers # noqa: F401
|
|
|
|
FeatureRegistry.register(
|
|
"audit",
|
|
name="Audit Logging",
|
|
description="Audit trail for model changes, API interactions, and security events",
|
|
default=True,
|
|
category="system",
|
|
)
|