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://twitter.github.com/bootstrap/

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


Download files

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

Source Distribution

djbootstrap-2.0.4.tar.gz (84.0 kB view details)

Uploaded Source

File details

Details for the file djbootstrap-2.0.4.tar.gz.

File metadata

  • Download URL: djbootstrap-2.0.4.tar.gz
  • Upload date:
  • Size: 84.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for djbootstrap-2.0.4.tar.gz
Algorithm Hash digest
SHA256 68c0ab128af4d46dda96a0aa0604871578b902e9f98d98a33fdf0f5f42bd55d4
MD5 dace9bc4d081dfa07b38cdb193d81ca0
BLAKE2b-256 5a0a6021f0540ab627cdf82c58e002e60879a21cbae18c66dba57da5e2b6cef2

See more details on using hashes here.

Supported by

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