内容简介:django-adminlte-ui 1.2.0 发布啦 1.2.0 该版本新增了对站点标题,站点标头,站点LOGO及欢迎标语的自定义,通过models中的options及templatetags实现。并在options表的基础上提供general_option页面进行快速设置,...
django-adminlte-ui 1.2.0 发布啦
1.2.0
该版本新增了对站点标题,站点标头,站点LOGO及欢迎标语的自定义,通过models中的options及templatetags实现。并在options表的基础上提供general_option页面进行快速设置,同时只需要在templates页面中加载adminlte_options这个templatetags即可使用options表中的自定义配置。
examples:
# adminlte/general_option.html
{% load adminlte_options %}
# here my option_name is site_title, you can custom yourself.
{% get_adminlte_option 'site_title' as adminlte_site_title %}
{% if adminlte_site_title.valid %}
{{ adminlte_site_title.site_title }}
{% else %}
{{ site_title|default:_('Django site admin') }}
{% endif %}
更新日志
- add models with options;
- add general_option.html to manager general option;
- setup app label to
django_admin_settings
; - register and add general_option into menu;
- add docs.
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 飞特 3.1,商城与后台起飞,模板与注解共存
- 飞特 3.1,商城与后台起飞,模板与注解共存
- 20款最好的免费 Bootstrap 后台管理和前端模板
- PHP 框架 DRYCMS 发布 1.0.2 版本,免费后台模板来袭
- iView 2.5.0 发布,新增后台管理系统模板 iView admin
- Pear Admin Layui 3.2.2 发布,Layui Admin 后台模板
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
How to Design Programs, 2nd Edition
Matthias Felleisen、Robert Bruce Findler、Matthew Flatt、Shriram Krishnamurthi / MIT Press / 2018-5-4 / USD 57.00
A completely revised edition, offering new design recipes for interactive programs and support for images as plain values, testing, event-driven programming, and even distributed programming. This ......一起来看看 《How to Design Programs, 2nd Edition》 这本书的介绍吧!