cmsmanage/dashboard/apps.py

12 lines
299 B
Python
Raw Permalink Normal View History

from django.apps import AppConfig
from django.utils.module_loading import autodiscover_modules
class DashboardConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "dashboard"
def ready(self):
super().ready()
autodiscover_modules("dashboard")