2018-10-04 14:36:11 +03:00
|
|
|
from django.apps import AppConfig
|
2018-10-11 01:43:50 +03:00
|
|
|
import os
|
2018-10-04 14:36:11 +03:00
|
|
|
|
|
|
|
|
2018-10-08 03:01:35 +03:00
|
|
|
class YtManagerAppConfig(AppConfig):
|
2018-10-04 14:36:11 +03:00
|
|
|
name = 'YtManagerApp'
|
2018-10-08 03:01:35 +03:00
|
|
|
|
|
|
|
def ready(self):
|
2018-10-21 01:20:31 +03:00
|
|
|
# Run server using --noreload to avoid having the scheduler run on 2 different processes
|
|
|
|
from .appmain import main
|
|
|
|
main()
|