Re-usable Django utils.
Project description
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:
INSTALLED_APPS = (
...
'jpt_django_utils.apps.JptDjangoUtilsConfig',
...
)
Add JPT Django Utils’s URL patterns:
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.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.
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
jpt-django-utils-0.2.1.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for jpt_django_utils-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74866573c611fa861f739ac64ec46ce47ba47a1775f6db8f1f1534bae30d8288 |
|
MD5 | 5029b8eb3e575608b3074530e362b309 |
|
BLAKE2b-256 | c8f119aeceaca366143c8ebf6724650b5b2ef905ed884f1c54030edd4cc3f3fc |