django-adminlte-ui 1.4.0 发布啦
1.4.0
该版本新增了`ADMINLTE_SETTINGS`,详细配置参考:https://github.com/wuyue92tree/django-adminlte-ui/pull/6
文档地址:https://django-adminlte-ui.readthedocs.io/en/latest/guide/
默认配置:
ADMINLTE_SETTINGS = {
'demo': True,
'search_form': True,
# 'skin': 'blue',
# 'copyright': '<a href="https://github.com/wuyue92tree/django-adminlte-ui/tree/'+version+'">django-adminlte-ui '+version+'</a>',
# 'navigation_expanded': True,
# if you are use custom menu, which will not effective below!
# 'show_apps': ['django_admin_settings', 'auth', 'main'],
# 'main_navigation_app': 'django_admin_settings',
# 'icons': {
# 'myapp': {
# 'shops': 'fa-shopping-cart',
# 'products': 'fa-dollar',
# }
# }
}
更新日志:
- feature #6 add
ADMINLTE_SETTINGS
; - update menu render logic.