mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:19:15 +02:00
Founndations for real-time event serialization/subscription/broadcasting
This commit is contained in:
parent
fd7c1e5dd8
commit
dd5881f2c6
6 changed files with 127 additions and 0 deletions
12
api/funkwhale_api/activity/apps.py
Normal file
12
api/funkwhale_api/activity/apps.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue