Skip to main content

This aims to be a powerful Django app to ease the integration of the popular Bootstrap UI framework (http://getbootstrap.com).

Project description

This aims to be a powerful Django app to ease the integration of the popular Bootstrap UI framework (http://getbootstrap.com).

https://img.shields.io/travis/timorieber/django-bootstrap-ui.svg https://img.shields.io/coveralls/timorieber/django-bootstrap-ui/master.svg https://img.shields.io/pypi/v/django-bootstrap-ui.svg https://img.shields.io/pypi/l/django-bootstrap-ui.svg

Quick start

  1. Add bootstrap_ui to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        ...
        'bootstrap_ui',
        ...
    )
  2. Load bootstrap_ui_tags in your template:

    {% load bootstrap_ui_tags %}
  3. Use bootstrap components through intuitive template tags:

    {% listgroup %}
        {% listgroupitem %}
            Your raw text.
        {% endlistgroupitem %}
        {% listgroupitem %}
            You may also use a {{ context_variable }}.
        {% endlistgroupitem %}
    {% endlistgroup %}
  4. 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 %}

Supported bootstrap components

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-bootstrap-ui-0.1-alpha2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_bootstrap_ui-0.1_alpha2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file django-bootstrap-ui-0.1-alpha2.tar.gz.

File metadata

File hashes

Hashes for django-bootstrap-ui-0.1-alpha2.tar.gz
Algorithm Hash digest
SHA256 66a54855582b242b833a0c726e740f101b1ecb3dd7a8195bfb664833244e03e1
MD5 d3bad3206ecfc7aed57278933c507039
BLAKE2b-256 9f23623c9f9daaa778201251e514ab9872bc8d76b1577b5eaa52a89b380fefbb

See more details on using hashes here.

File details

Details for the file django_bootstrap_ui-0.1_alpha2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_bootstrap_ui-0.1_alpha2-py3-none-any.whl
Algorithm Hash digest
SHA256 6567ad297ceb17fdf7cd8b6ae7257d1a12aa28b946b85596513139acece3dc38
MD5 c92f178c043bb3e434aab590047cbfbc
BLAKE2b-256 71f4e1756603cc2e7e3f89010f5ea26f661a017f21d5d678345f14aa5676b04e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page