django-bootstrap3 0,2,0,1,3,0,6 travis-ci python

Bootstrap 3 integration with Django.

2 years after

====================== Bootstrap 3 for Django

Write Django as usual, and let django-bootstrap3 make template output into Bootstrap 3 code.

.. image:: https://img.shields.io/travis/dyve/django-bootstrap3/master.svg :target: https://travis-ci.org/dyve/django-bootstrap3

.. image:: https://img.shields.io/coveralls/dyve/django-bootstrap3/master.svg :target: https://coveralls.io/r/dyve/django-bootstrap3?branch=master

.. image:: https://img.shields.io/pypi/v/django-bootstrap3.svg :target: https://pypi.python.org/pypi/django-bootstrap3 :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/django-bootstrap3.svg :target: https://pypi.python.org/pypi/django-bootstrap3 :alt: Number of PyPI downloads per month

Requirements

The latest version supporting Python 2.6 and Django < 1.8 is the 6.x.x branch.

Installation

  1. Install using pip:

    pip install django-bootstrap3

    Alternatively, you can install download or clone this repo and call pip install -e ..

  2. Add to INSTALLED_APPS in your settings.py:

    'bootstrap3',

  3. In your templates, load the bootstrap3 library and use the bootstrap_* tags:

This app will soon require Django 1.8+, python 2.7+. Thanks for understanding.

Example template

.. code:: Django

{% load bootstrap3 %}

{# Display a form #}

<form action="/url/to/submit/" method="post" class="form">
    {% csrf_token %}
    {% bootstrap_form form %}
    {% buttons %}
        <button type="submit" class="btn btn-primary">
            {% bootstrap_icon "star" %} Submit
        </button>
    {% endbuttons %}
</form>

Documentation

The full documentation is at http://django-bootstrap3.readthedocs.org/.

Bugs and suggestions

If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.

https://github.com/dyve/django-bootstrap3/issues

License

You can use this under Apache 2.0. See `LICENSE

`_ file for details. Author ------ Developed and maintained by `Zostera `_. Original author & Development lead: `Dylan Verheul `_. Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see AUTHORS.rst for a list of contributors.

Related Repositories

awesome-django

awesome-django

A curated list of awesome Django apps, projects and resources. ...

django-bootstrap-toolkit

django-bootstrap-toolkit

Bootstrap support for Django projects ...

django-ninecms

django-ninecms

Nine CMS is a simple Django app to manage content. Users can create content and ...

awesome-django

awesome-django

A curated list of awesome Django apps, projects and resources. ...


Top Contributors

dyve xrmx jonashaag nikolas luzfcb juancarlospaco MarkusH xsurfer TyVik bez4pieci ojake frewsxcv predatell owais snoepkast Borkason dougvanhorn jieter jonashagstedt SamTShaw NotSqrt dakrauth ookami-kb lstaniszewski deronnax bcail bradbeattie caioariede cvrebert streeter

Releases

-   release_4.0.3 zip tar
-   7.1.0 zip tar
-   7.0.1 zip tar
-   7.0.0 zip tar
-   6.2.2 zip tar
-   6.2.1 zip tar
-   6.2.0 zip tar
-   6.1.0 zip tar
-   5.4.0 zip tar
-   5.3.1 zip tar
-   5.3.0 zip tar
-   5.2.0 zip tar
-   5.1.1__2 zip tar
-   5.1.1 zip tar
-   5.1.0 zip tar
-   5.0.3 zip tar
-   5.0.2 zip tar
-   5.0.1 zip tar
-   5.0.0 zip tar
-   4.11.0 zip tar
-   4.10.1 zip tar
-   4.10.0 zip tar
-   4.9.2 zip tar
-   4.9.1 zip tar
-   4.9.0 zip tar
-   4.8.2 zip tar
-   4.8.1 zip tar
-   4.8.0 zip tar
-   4.7.1 zip tar
-   4.7.0 zip tar