semvec/pypi-packages huggingface dataset:
django-pj-core 0.1.2
Misc utilities for Django
License: BSD
Keywords: django-pj-core

=============================
django-pj-core
=============================

.. image:: https://badge.fury.io/py/django-pj-core.png
    :target: https://badge.fury.io/py/django-pj-core

.. image:: https://travis-ci.org/jokimies/django-pj-core.png?branch=master
    :target: https://travis-ci.org/jokimies/django-pj-core

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``)


Cookiecutter Tools Used in Making This Package
----------------------------------------------

*  cookiecutter
*  cookiecutter-djangopackage




History
-------

0.1.0 (2015-08-31)
++++++++++++++++++

* First release on PyPI.