Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Common utils for Django-based projects.

Project Description


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.


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


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


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.
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tg_utils-0.2.0-py2.py3-none-any.whl (10.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jan 27, 2016
tg-utils-0.2.0.tar.gz (16.5 kB) Copy SHA256 Checksum SHA256 Source Jan 27, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting