Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.
dyve edited this page Jan 20, 2012 · 3 revisions

Welcome to the django-bootstrap-toolkit wiki!

Goal

Make it easy to use Bootstrap in Django projects.

Philosophy

  • Bootstrap is a toolkit for HTML and CSS with a little JavaScript
  • This means in Django, Bootstrap should be used in templates and not in objects

Implementation

  • Expose tags and filter for templates
  • Leave Django's internal workings alone

Example

If you have a standard Django form that you want to display with bootstrap, you'd put this in your template:

{% include bootstrap_toolkit %}
form|as_bootstrap
Clone this wiki locally