ytsm/app/YtManagerApp/apps.py

12 lines
277 B
Python
Raw Normal View History

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