# 1.user.__init__.py default_app_config = "user.apps.UserConfig" #2.user.apps.py from django.apps import AppConfig class UserConfig(AppConfig): name = 'user' verbose_name = '用户中心'
# 1.user.__init__.py default_app_config = "user.apps.UserConfig" #2.user.apps.py from django.apps import AppConfig class UserConfig(AppConfig): name = 'user' verbose_name = '用户中心'
转载于:https://www.cnblogs.com/Hale-wang/p/11218821.html