cmsmanage/doorcontrol/apps.py

13 lines
294 B
Python

from django.apps import AppConfig
class DoorControlConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "doorcontrol"
verbose_name = "Door Control"
def ready(self):
from .tasks.scrapehidevents import schedule_tasks
schedule_tasks()