Skip to main content

Kickstart your django app with twitter bootstrap.

Project description

Helps kickstart your django app using the awesome twitter bootstrap library.

http://getbootstrap.com

As of version 3.0.1 Django 1.5+ is recommended. The sample app will only work with django 1.5+, but the actual bootstrap stuff should work just fine.

INSTALLATION

>>> pip install djbootstrap

Just add djbootstrap to your INSTALLED_APPS

PROVIDES

base.html template

Use it if you feel like it. Just sets up some boilerplate.

bootstrapped_form template tag

Renders your form all pretty like using bootstrapped_form.html the bootstrap css classes and such.

{% load bootstrap_tags %}
{% bootstrapped_form my_form %}

notification_center.html

A simple template snipped to render django’s messages output using bootstrap alerts

Activate Template Tag

Tells you if the page you’re on is the active page. Requires ‘request’ context processor

USAGE:

{% url namespace:some_url as the_url %}
<li class="{% activate the_url %}"><a href="{{ the_url }}"></li>

Project details


Release history Release notifications

This version
History Node

3.0.1

History Node

2.3.2

History Node

2.3.1

History Node

2.3.0

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
djbootstrap-3.0.1.tar.gz (238.4 kB) Copy SHA256 hash SHA256 Source None Nov 3, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page