djcorecap
Core app for Django projects that provides essential functions, tags, and enhanced Bootstrap-friendly templates.
Free software: MIT license
Features
Custom base template that plays nicely with Bootstrap (and themes)
Custom allauth templates that play nicely with Bootstrap (and themes)
Paginator template snippet ready for inclusion in other templates
Convenience functions to support Bokeh plots
Template tags for auto-setting links to active and formatting percentages
Bootstrap test page
Installation
Add djcorecap to your INSTALLED_APPS in settings. Ensure that it comes before all other third party apps to enable template overrides, etc.
If you plan to use the app’s base template as your project’s base template, replace base.html in project/templates/ with a file containing the following:
{% extends 'djcorecap/base.html' %}
If you plan to use djcorecap’s version of the allauth templates, delete the account/ folder (if exists) from project/templates/.
History
0.1.0 (2018-03-24)
First release
1.0.0 (2020-04-10)
First PyPI production release
Metadata
Release files for djcorecap 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| djcorecap-1.0.1.tar.gz | 29.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djcorecap-1.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 61.5 kB
Release files / djcorecap-1.0.1.tar.gz
| Download URL | djcorecap-1.0.1.tar.gz |
|---|---|
| Size | 29.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10160eec15eb01f04f2e59378f0fd29b37371b7cf97dc9dfe4e9400392fd9a58
|
|
BLAKE2b-256 checksum How to use checksums |
03bfbafbc003a8186b8e4c17a246d6d0d048aaacf59c9ce97b0e63c41df9cca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
|
Release files / djcorecap-1.0.1-py2.py3-none-any.whl
| Download URL | djcorecap-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 32.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
736c9bcd736792c44eeb966202f44699344ea6cbfdce1d5ebae197775772c9f7
|
|
BLAKE2b-256 checksum How to use checksums |
1ae930741246f347baec2674b90e4729fa7f8e3a69c6e3cbd01208abf0a65940
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
|