12 lines
299 B
Python
12 lines
299 B
Python
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")
|