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)
- Panels (http://getbootstrap.com/components/#panels)
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_bootstrap_ui-0.1.0a5-py2.py3-none-any.whl (5.9 kB) | File type Wheel | Python version 2.7 | Upload date | Hashes View |
Filename, size django-bootstrap-ui-0.1.0a5.tar.gz (3.6 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for django_bootstrap_ui-0.1.0a5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e8bef42180a050b7b9cc04ee2a79281b22e8174059cf500c2c1c65bff76d07 |
|
MD5 | 2ee4501960bd5dea6d88d6246a22ccd7 |
|
BLAKE2-256 | 26452199549bf70828c88a14f876def4b2896662a69d3fd04b7c02c1cf92a17c |
Hashes for django-bootstrap-ui-0.1.0a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f944a073a5d88a5e63422e9f9f2a6c1271dcf2882dd32fb5636f3a832183f49 |
|
MD5 | 1f8717b8d066fab727b66e782752f492 |
|
BLAKE2-256 | 1d7e3c7938a449ade6560446f6c2e638135f6b30fe131501bcf39498f2db4bde |