mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 20:19:19 +02:00
13 lines
291 B
Python
13 lines
291 B
Python
from django.apps import AppConfig, apps
|
|
|
|
from . import mrf
|
|
|
|
|
|
class ModerationConfig(AppConfig):
|
|
name = "funkwhale_api.moderation"
|
|
|
|
def ready(self):
|
|
super().ready()
|
|
|
|
app_names = [app.name for app in apps.app_configs.values()]
|
|
mrf.inbox.autodiscover(app_names)
|