kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
14 wiersze
316 B
Python
14 wiersze
316 B
Python
from django.apps import AppConfig, apps
|
|
|
|
from . import record
|
|
|
|
|
|
class ActivityConfig(AppConfig):
|
|
name = "funkwhale_api.activity"
|
|
|
|
def ready(self):
|
|
super(ActivityConfig, self).ready()
|
|
|
|
app_names = [app.name for app in apps.app_configs.values()]
|
|
record.registry.autodiscover(app_names)
|