Skip to main content

Common utils for Django-based projects.

Project description

tg-utils

https://img.shields.io/pypi/v/tg-utils.svg https://img.shields.io/travis/thorgate/tg-utils.svg Documentation Status

Collection of various utils for Django-based projects.

This is code that we’re using in our projects at Thorgate and we’re hoping you’ll find some of it useful as well.

Features

  • Model utils, e.g. timestamped and closable models, QuerySets that send out a signal when objects are modified.

  • Templated email sending.

  • Profiling utilities.

  • Unique filename generation for uploads.

  • Using hashids for models (instead of exposing primary keys).

  • System checks for email and Sentry configuration.

  • JS/CSS compressors for Django Compressor.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.0 (2016-01-27)

  • Rename tg_utils.yuglify module to tg_utils.compressor_filters and added new filters for using UglifyJS 2 and clean-css.

  • Added docs for tg_utils.compressor_filters module.

0.1.1 (2016-01-11)

  • 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.

Source Distribution

tg-utils-0.2.0.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

tg_utils-0.2.0-py2.py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page