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 details)
Built Distribution
File details
Details for the file django-pj-core-0.1.2.tar.gz
.
File metadata
- Download URL: django-pj-core-0.1.2.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 525e10050acdc7fc736af6051166879ed5438893ce2ab2c90f17cd915b717114 |
|
MD5 | 6430af8af764c3dd53aa8ce2f556b9f1 |
|
BLAKE2b-256 | 91b462c64c22e8578b4dca6ff3e01dd8eca4a391d30268b114e4c5e5cb008e95 |
File details
Details for the file django_pj_core-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_pj_core-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5000dc8bb306885059006975081022b5e4a5c957402fbd5dd87e91e8400165c4 |
|
MD5 | 6bbcade3e6583d254b48188ca05a4c4c |
|
BLAKE2b-256 | 9766452d9a2358c094902bc17c66908a3283942acc2df01ad827305020c19da1 |