=============================
Django Bootstrap Swatches
=============================
.. image:: https://badge.fury.io/py/dj-bootstrap-swatches.svg
:target: https://badge.fury.io/py/dj-bootstrap-swatches
.. image:: https://travis-ci.org/bwarren2/dj-bootstrap-swatches.svg?branch=master
:target: https://travis-ci.org/bwarren2/dj-bootstrap-swatches
.. image:: https://codecov.io/gh/bwarren2/dj-bootstrap-swatches/branch/master/graph/badge.svg
:target: https://codecov.io/gh/bwarren2/dj-bootstrap-swatches
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`:
.. code-block:: python
INSTALLED_APPS = (
...
'dj_bootstrap_swatches.apps.DjBootstrapSwatchesConfig',
...
)
Add Django Bootstrap Swatches's URL patterns:
.. code-block:: python
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
Development
--------
Run a fake server with the test settings and nav to `http://localhost:8000/3`
.. code-block:: none
python manage.py runserver --settings tests.settings
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Credits
-------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
Compilation of components due to Thomas Park via [Bootswatch](https://bootswatch.com/default/).
History
-------
0.1.0 (2017-05-26)
++++++++++++++++++
* First release on PyPI.
Django Bootstrap Swatches
=============================
.. image:: https://badge.fury.io/py/dj-bootstrap-swatches.svg
:target: https://badge.fury.io/py/dj-bootstrap-swatches
.. image:: https://travis-ci.org/bwarren2/dj-bootstrap-swatches.svg?branch=master
:target: https://travis-ci.org/bwarren2/dj-bootstrap-swatches
.. image:: https://codecov.io/gh/bwarren2/dj-bootstrap-swatches/branch/master/graph/badge.svg
:target: https://codecov.io/gh/bwarren2/dj-bootstrap-swatches
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`:
.. code-block:: python
INSTALLED_APPS = (
...
'dj_bootstrap_swatches.apps.DjBootstrapSwatchesConfig',
...
)
Add Django Bootstrap Swatches's URL patterns:
.. code-block:: python
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
Development
--------
Run a fake server with the test settings and nav to `http://localhost:8000/3`
.. code-block:: none
python manage.py runserver --settings tests.settings
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Credits
-------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
Compilation of components due to Thomas Park via [Bootswatch](https://bootswatch.com/default/).
History
-------
0.1.0 (2017-05-26)
++++++++++++++++++
* First release on PyPI.
Metadata
Release files for dj-bootstrap-swatches 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dj-bootstrap-swatches-0.6.0.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dj_bootstrap_swatches-0.6.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 27.3 kB
Release files / dj-bootstrap-swatches-0.6.0.tar.gz
| Download URL | dj-bootstrap-swatches-0.6.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d94eac9be150e96a4b45c61b35f601cb0f2c9c5127a858bcb2e42edd37c770e1
|
|
BLAKE2b-256 checksum How to use checksums |
e6d608685539413ac1a4f97ec6f26cd0254bafa1b81a0c12b96bf08ea8f44da0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dj_bootstrap_swatches-0.6.0-py2.py3-none-any.whl
| Download URL | dj_bootstrap_swatches-0.6.0-py2.py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4dc8fd583093e3ee950dd301c1f1833a7aaa06cda50096c6463217da982dce4c
|
|
BLAKE2b-256 checksum How to use checksums |
f6cdb24bcb6ad1a0d52b82e82c257cabaf880ae9c130c3ff0f462dd6e446abfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |