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 %} <span class="{{ value | colorize_percentage }}" ... </span>
CSS:
span.negative { color: #CC3333; } span.positive { color: #88FF88; }
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.2.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for django_pj_core-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5000dc8bb306885059006975081022b5e4a5c957402fbd5dd87e91e8400165c4 |
|
MD5 | 6bbcade3e6583d254b48188ca05a4c4c |
|
BLAKE2b-256 | 9766452d9a2358c094902bc17c66908a3283942acc2df01ad827305020c19da1 |