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