django-adminlte-ui 1.2.0 发布, 基于adminlte的Django后台模板

栏目: Python · 发布时间: 6年前

内容简介:django-adminlte-ui 1.2.0 发布啦1.2.0该版本新增了对站点标题,站点标头,站点LOGO及欢迎标语的自定义,通过models中的options及templatetags实现。并在options表的基础上提供general_option页面进行快速设置,同时只需要在templates页面中加载adminlte_options这个templatetags即可使用options表中的自定义配置。

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 %}

django-adminlte-ui 1.2.0 发布, 基于adminlte的Django后台模板

更新日志

django_admin_settings

以上所述就是小编给大家介绍的《django-adminlte-ui 1.2.0 发布, 基于adminlte的Django后台模板》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Head First jQuery

Head First jQuery

Ryan Benedetti , Ronan Cranley / O'Reilly Media / 2011-9 / USD 39.99

Want to add more interactivity and polish to your websites? Discover how jQuery can help you build complex scripting functionality in just a few lines of code. With Head First jQuery, you'll quickly g......一起来看看 《Head First jQuery》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具