Skip to main content

Misc utilities for Django

Project description

Misc utilities for Django


The full documentation is at (someday, not yet).


Install django-pj-core:

pip install django-pj-core

Then use it in a template:

{% load pjcore_tags %}

<span class="{{ value | colorize_percentage }}" ... </span>


span.negative {
  color: #CC3333;

span.positive {
  color: #88FF88;

Will return string red (negative value or green (positive value)

Cookiecutter Tools Used in Making This Package

  • cookiecutter
  • cookiecutter-djangopackage


0.1.0 (2015-08-31)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-pj-core, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django_pj_core-0.1.2-py2.py3-none-any.whl (5.3 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size django-pj-core-0.1.2.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page