youtube-channel-manager/YtManagerApp/apps.py

12 lines
277 B
Python

from django.apps import AppConfig
import os
class YtManagerAppConfig(AppConfig):
name = 'YtManagerApp'
def ready(self):
# Run server using --noreload to avoid having the scheduler run on 2 different processes
from .appmain import main
main()