A swatch page for Bootstrap styling
Project description
A swatch page for Bootstrap styling
Documentation
The full documentation is at https://dj-bootstrap-swatches.readthedocs.io.
Quickstart
Install Django Bootstrap Swatches:
pip install dj-bootstrap-swatches
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'dj_bootstrap_swatches.apps.DjBootstrapSwatchesConfig',
...
)
Add Django Bootstrap Swatches’s URL patterns:
from dj_bootstrap_swatches import urls as dj_bootstrap_swatches_urls
urlpatterns = [
...
url(r'^bootswatch/', include(dj_bootstrap_swatches_urls)),
...
]
Per “Two Scoops of Django” design patterns, the default swatch page tries to extend a base template called base.html and a block called content. If this isn’t your practice, you’ll need to adjust things to fit.
Features
TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.0 (2017-05-26)
First release on PyPI.
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
Built Distribution
File details
Details for the file dj-bootstrap-swatches-0.5.0.tar.gz
.
File metadata
- Download URL: dj-bootstrap-swatches-0.5.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15e4d140aaae7a5fc1cd9c391cc1686d2ddc480c11c1c92621cb44e9bff3cbd5 |
|
MD5 | 10b128671fafc5e8e60c90e88f1987fe |
|
BLAKE2b-256 | c381a10d16dc8060335f9fdbca85c4ccaf0ef839b93aa6fd65bc5399c355ed21 |
File details
Details for the file dj_bootstrap_swatches-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dj_bootstrap_swatches-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5cc2718a01d34d34d24c5d31e8d41e5ed13963867b6b8d77f019941be387c78 |
|
MD5 | 79bb41bb29c2de7112b96d8c13b864e1 |
|
BLAKE2b-256 | f9681e5ff8198716c97d62ae592e0daaca9a21d6497668484c4e06bacf848542 |