18 lines
541 B
Python
18 lines
541 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class NotificationsConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "infrasynth.notifications"
|
|
label = "infrasynth_notifications"
|
|
|
|
def ready(self):
|
|
from infrasynth.features.registry import FeatureRegistry
|
|
|
|
FeatureRegistry.register(
|
|
"notifications",
|
|
name="Notifications",
|
|
description="Notification system — email, SMS, push, etc.",
|
|
default=True,
|
|
category="communication",
|
|
)
|