This aims to be a powerful Django app to ease the integration of the popular Bootstrap UI framework (http://getbootstrap.com).
Project description
django-bootstrap-ui aims to be a powerful Django app to ease the integration of the popular Bootstrap UI framework. It is written in Python and built on the Django web framework.
The code is open source, and available on GitHub.
Getting started
First install the package using pip with the --pre option as long as this is a pre-release:
pip install --pre django-bootstrap-ui
Add bootstrap_ui to your INSTALLED_APPS setting:
INSTALLED_APPS = ( ... 'bootstrap_ui', ... )
Load bootstrap_ui_tags in your template:
{% load bootstrap_ui_tags %}
Use bootstrap components through intuitive template tags:
{% listgroup %} {% listgroupitem %} Your raw text. {% endlistgroupitem %} {% listgroupitem %} You may also use a {{ context_variable }}. {% endlistgroupitem %} {% endlistgroup %}
Some bootstrap components support different html tags, to change the default add a parameter:
{% listgroup use_tag="div" %} ... Your list group content goes here. ... {% endlistgroup %}
Available bootstrap components
List group (http://getbootstrap.com/components/#list-group)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-bootstrap-ui-0.1.0-alpha.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f567d03b7ee23c57f91af8edb644f212ce283b4e09c5a22dd727780373eed0 |
|
MD5 | 1f0acd98e070172d45a278c1b40bacc1 |
|
BLAKE2b-256 | 187e4d94dbd2892d5565ee68373a8fc35c388b9f835ab2726320da753d6738f8 |
Hashes for django_bootstrap_ui-0.1.0_alpha.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c680c0227b85f0aa345dc4dc3beac01722d52b0d8c574f0298d9ef611e26c80 |
|
MD5 | 1e3e7de9c34a94799195b4eedfbf17de |
|
BLAKE2b-256 | 20f894e5c96cc2d532695fa5667d225959d202bf78d064681419e202cf2e342c |