'widget_tweaks' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_static
admin_urls
cache
crispy_forms_field
crispy_forms_filters
crispy_forms_tags
crispy_forms_utils
i18n
l10n
log
static
staticfiles
tz
xadmin_tags
安装django插件后未注册
在settings里添加如下配置即可:
INSTALLED_APPS = [
...
'widget_tweaks',
]