from django.apps import AppConfig class CommentsConfig(AppConfig): # jrx: 评论应用的配置类,指定应用名称 name = 'comments'