From 723e2940c74a13d4ac053e8d04f08194dc2a7c12 Mon Sep 17 00:00:00 2001 From: lele555 <3583165504@qq.com> Date: Sat, 3 Oct 2026 14:11:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20project-a/articleapp/apps.?= =?UTF-8?q?py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project-a/articleapp/apps.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/project-a/articleapp/apps.py b/project-a/articleapp/apps.py index 38eb878..765351f 100644 --- a/project-a/articleapp/apps.py +++ b/project-a/articleapp/apps.py @@ -1,5 +1,9 @@ from django.apps import AppConfig + class ArticleappConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' - name = 'articleapp' \ No newline at end of file + name = 'articleapp' + + def ready(self): + import articleapp.models \ No newline at end of file