Skip to main content

jQuery plugin that auto-hides form field help blocks as pluggable Django app

Project description

Collection of static assets (CSS, JavaScript, images) that allow for quickly adding Twitter bootstrap and related plugins to a Django project.

jQuery is also included with the assets. Although the project is released under Apache License 2.0, jQuery is covered separately by MIT license. See LICENSE and LICENSE-jQuery files for more details.

Installation

To install, use pip or easy_install:

pip install django-bootstrap-assets

Next, add one of the preferred pluggable apps to INSTALLED_APPS. For example, if we want to install Bootstrap and all of the plugins at once:

INSTALLED_APPS = (
    ...
    'bootstrap_all',
    ...
)

Apps are explained in Structure of the packages section.

Included plugins

Following two plugins are included:

Structure of the packages

This project is divided into four packages. Each package contains a pluggable Django app which provides static assets.

  • bootstrap: contains Twitter bootstrap only

  • bootstrap_select2: contains select2 plugin

  • bootstrap_datepicker: contains the datepicker plugin

  • bootstrap_all: contains all of the above

Each package has normal Django app structure with a static directory containing the assets.

The bootstrap_all app simply contains symlinks to all of the assets in other three apps.

Project details


Download files

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

Source Distributions

django-bootstrap-assets-0.0.3.zip (339.2 kB view details)

Uploaded Source

django-bootstrap-assets-0.0.3.tar.gz (168.6 kB view details)

Uploaded Source

File details

Details for the file django-bootstrap-assets-0.0.3.zip.

File metadata

File hashes

Hashes for django-bootstrap-assets-0.0.3.zip
Algorithm Hash digest
SHA256 1a73443075a2017204b899ca72b506ae87f77a6c452f5c711a492d66564d2346
MD5 189b38f610c4380a6fe5407af875128b
BLAKE2b-256 cbdc6d0ccf22a0065a2fea8faef387920c9ae4b83ff31a894e90be6f720f6aad

See more details on using hashes here.

File details

Details for the file django-bootstrap-assets-0.0.3.tar.gz.

File metadata

File hashes

Hashes for django-bootstrap-assets-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7013c7d811d3e247a7295dac614d9c23231d0c262c8ae7ce3953c8ab4c3dcfd9
MD5 2b74de2f07f896ff648a1c622678c49e
BLAKE2b-256 892ef9cd807c43072636b732f8465c5933af1611fd7dee50dba111eaaa521eab

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