Metadata-Version: 2.0
Name: jpt-django-utils
Version: 0.5.2
Summary: Re-usable Django utils.
Home-page: https://github.com/jptd/JPT-DJANGO-UTILS
Author: Jewel Paymentech
Author-email: jafnee.jesmee@jewelpaymentech.com
License: UNKNOWN
Description-Content-Type: UNKNOWN
Keywords: jpt-django-utils
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: Other/Proprietary License
Requires-Python: >=3.4

=============================
JPT Django Utils
=============================

.. image:: https://badge.fury.io/py/jpt-django-utils.svg
    :target: https://badge.fury.io/py/jpt-django-utils

.. image:: https://travis-ci.com/jptd/JPT-django-utils.svg?token=whRx2vqBkv8CM6GEdmEf&branch=develop
    :target: https://travis-ci.com/jptd/JPT-django-utils

Re-usable Django utils.

Documentation
-------------

The full documentation is at https://JPT-DJANGO-UTILS.readthedocs.io.

Quickstart
----------

Install JPT Django Utils::

    pip install jpt-django-utils

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'jpt_django_utils.apps.JptDjangoUtilsConfig',
        ...
    )

Add JPT Django Utils's URL patterns:

.. code-block:: python

    from jpt_django_utils import urls as jpt_django_utils_urls


    urlpatterns = [
        ...
        url(r'^', include(jpt_django_utils_urls)),
        ...
    ]

Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox




History
-------

develop (unreleased)
--------------------

0.5.2 (2018-03-05)
--------------------

* Fix PublishExpireManager not being expored by publishable module.

0.5.1 (2018-03-05)
------------------

* Add PublishExpireManager.

0.5.0 (2018-02-06)
------------------

* Add AutoIntVersionSerializer

0.4.0 (2018-01-30)
------------------

* Add json_client fixture.
* Add rest_framework utils

0.3.0 (2018-01-26)
------------------

* Enforce Python 3.4 >= only in setup.py.
* Add PublishExpireMixin and PublishExpireQuerySet.

0.2.1 (2018-01-24)
------------------

* Re-upload to PyPI with an all lowercase name.

0.2.0 (2018-01-24)
------------------

* Add AutoIntVersionAdmin.

0.1.0 (2018-01-22)
------------------

* Add SoftDeletionMixin.
* Add AutoIntVersionMixin and AutoIntVersionField.
* Add CreatedUpdatedMixin, CreatedUpdatedSerializer and CreatedUpdatedAdmin.
* Add exception utils: raise_truthy, raise_falsey, raise_none.
* Add testing.client.JSONClient.

0.0.0 (2018-01-12)
------------------

* Initial commit.


