Skip to content

Commit 3d9d824

Browse files
committed
Missing apps file, oops
1 parent 9b7cf1f commit 3d9d824

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

readthedocs/oauth/apps.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""OAuth app config"""
2+
3+
from django.apps import AppConfig
4+
5+
6+
class OAuthConfig(AppConfig):
7+
name = 'readthedocs.oauth'
8+
9+
def ready(self):
10+
from .tasks import SyncRemoteRepositories
11+
from readthedocs.worker import app
12+
app.tasks.register(SyncRemoteRepositories)

0 commit comments

Comments
 (0)