Misc utilities for Django
Project description
Misc utilities for Django
Documentation
The full documentation is at https://django-pj-core.readthedocs.org (someday, not yet).
Quickstart
Install django-pj-core:
pip install django-pj-core
Then use it in a template:
{% load pjcore_tags %} ... class="{{ value | colorize_percentage }}" ...
Will return string red (negative value or green (positive value)
History
0.1.0 (2015-08-31)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-pj-core-0.1.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for django_pj_core-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab764fabc252c58fb006d369cdfc58569fb2b8d189b1685aaa9ddc41ecabe11 |
|
MD5 | ec15067f96b3730aa042b3aa6b4dfaab |
|
BLAKE2b-256 | 0cc5ea646a6a82387271c8ecf5685bde3a98f12e9aae2821265dd8f2cf7c380e |