首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 使用clevercss Django让CSS更容易管理!

使用clevercss Django让CSS更容易管理!

资 源 简 介

ATTENTION: I have disowned this project. See http://www.codekoala.com/blog/2013/django-projects/ Today I stumbled upon the CleverCSS project and decided I liked it and wanted to experiment with it. In an effort to find a use for it, I decided to create this project that allows you to use CleverCSS in your Django templates. What Does django-clevercss Do? This project allows you to create CleverCSS stylesheets using the classic Django administration utility. The use of a template tag, get_clever_css, will allow you to use these stylesheets that are stored in your database. The template tag retrieve the stylesheet by its title and spits out a file on the filesystem each time the stylesheet changes in the database. This slightly reduces the amount of overhead because the CleverCSS stylesheet does not need to be parsed for each page request. Installation Dow

文 件 列 表

dlevercss
models.py
admin.py
templatetags
__init__.py
views.py
VIP VIP
0.250100s