鞋带样式的样本页
dj-bootstrap-swatches的Python项目详细描述
===========
django bootstrap样本
========
图片::https://badge.fury.io/py/dj bootstrap swatches.svg
:目标:https://badge.fury.io/py/dj bootstrap swatches
…图片::https://travis-ci.org/bwarren2/dj-bootstrap-swatches.svg?branch=master
:目标:https://travis ci.org/bwarren2/dj bootstrap swatches
…图片::https://codecov.io/gh/bwarren2/dj bootstrap swatches/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/bwarren2/dj bootstrap swatches
bootstrap样式的样本页
https://dj bootstrap swatches.readthedocs.io.
quickstart
----
install django bootstrap swatches::
pip install dj bootstrap swatches
代码块::python
installed\u apps=(
…
'dj\u bootstrap\u swatches.apps.djbootstrapswatchesconfig',
…
)
添加django bootstrap swatches的url模式:
。代码块::python
from dj_bootstrap_swatches将url导入为dj_bootstrap_swatches_url
url patterns=[
…
url(r'^bootstrap/',include(dj_bootstrap_swatches_url)),
…
每个“两勺django”设计模式,默认的swatch页尝试扩展一个基名为“base.html”的模板和名为“content”的块。如果这不是你的做法,你需要调整适应。
features
--
development
--
代码块::none
running tests
----
::
source<;yourvirtualenv>;/bin/activate
(myenv)$pip install tox
(myenv)$tox
credits
----
呈现此包时使用的工具:
*Cookiecutter
*`Cookiecutter DjangoPackage`
。_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` Cookiecutter djangopack`:https://github.com/pydanny/Cookiecutter djangopack
django bootstrap样本
========
图片::https://badge.fury.io/py/dj bootstrap swatches.svg
:目标:https://badge.fury.io/py/dj bootstrap swatches
…图片::https://travis-ci.org/bwarren2/dj-bootstrap-swatches.svg?branch=master
:目标:https://travis ci.org/bwarren2/dj bootstrap swatches
…图片::https://codecov.io/gh/bwarren2/dj bootstrap swatches/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/bwarren2/dj bootstrap swatches
bootstrap样式的样本页
https://dj bootstrap swatches.readthedocs.io.
quickstart
----
install django bootstrap swatches::
pip install dj bootstrap swatches
代码块::python
installed\u apps=(
…
'dj\u bootstrap\u swatches.apps.djbootstrapswatchesconfig',
…
)
添加django bootstrap swatches的url模式:
。代码块::python
from dj_bootstrap_swatches将url导入为dj_bootstrap_swatches_url
url patterns=[
…
url(r'^bootstrap/',include(dj_bootstrap_swatches_url)),
…
每个“两勺django”设计模式,默认的swatch页尝试扩展一个基名为“base.html”的模板和名为“content”的块。如果这不是你的做法,你需要调整适应。
features
--
development
--
代码块::none
running tests
----
::
source<;yourvirtualenv>;/bin/activate
(myenv)$pip install tox
(myenv)$tox
credits
----
呈现此包时使用的工具:
*Cookiecutter
*`Cookiecutter DjangoPackage`
。_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` Cookiecutter djangopack`:https://github.com/pydanny/Cookiecutter djangopack