Newer
Older
from __future__ import annotations
Dong Zhuang
committed
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from relate.checks import register_startup_checks, register_startup_checks_extra
Dong Zhuang
committed
class CourseConfig(AppConfig):
Dong Zhuang
committed
# for translation of the name of "Course" app displayed in admin.
verbose_name = _("Course module")
Andreas Klöckner
committed
default_auto_field = "django.db.models.BigAutoField"
# register all checks
register_startup_checks()
register_startup_checks_extra()