Site Overlay

django中使用应用配置注册

在 settings.py 文件中 INSTALLED_APPS 里添加

appname.apps.AppConfi
例如:

INSTALLED_APPS = [

'apps.word.apps.WordConfig',

]

Leave a Reply

Your email address will not be published. Required fields are marked *