Skip to main content

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>

Metadata

Release files for djbootstrap 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djbootstrap 3.0.1
File Size Uploaded
djbootstrap-3.0.1.tar.gz 238.4 kB Details

Release files / djbootstrap-3.0.1.tar.gz

Download URL djbootstrap-3.0.1.tar.gz
Size 238.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8bc7a0097b39c8f8ee3d3c500314c6ce5c1a7015d372a733e9831a2132665632
BLAKE2b-256 checksum
How to use checksums
7b2ded9b40f520ea1bf97c28c3f70c21de0b046f1ed7c0c34fad210daf212d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.0.1 This release

1 release file

2.3.2

1 release file

2.3.1

1 release file

2.3.0

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page