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.
Release files for django-bootstrap-assets 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | |
|---|---|---|---|
| django-bootstrap-assets-0.0.2.zip | 337.8 kB | Details | |
| django-bootstrap-assets-0.0.2.tar.gz | 167.9 kB | Details |
Release files / django-bootstrap-assets-0.0.2.zip
| Download URL | django-bootstrap-assets-0.0.2.zip |
|---|---|
| Size | 337.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19f795d6ddc34e644efdf9e615400523fae41398edd7ab6649d4d33a188636b3
|
|
BLAKE2b-256 checksum How to use checksums |
a9f5b958f6057f14277f5a15332e19b1cc98a2d21fcd460576ce4600a7495259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django-bootstrap-assets-0.0.2.tar.gz
| Download URL | django-bootstrap-assets-0.0.2.tar.gz |
|---|---|
| Size | 167.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6571d45d809dcfcf8c32ee2f2b2ff8d96c0c1dba44afc71f5ad730be4bfd8be
|
|
BLAKE2b-256 checksum How to use checksums |
126ad3c094b9c10e70b41fcb30c1103cf5f18ce03a870de3ce11f2fd1f9b1988
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |