Skip to main content

You know they'll never really die while the Trunk is alive

Project description

Django GNU Terry Pratchett

Keeping the legacy of [Sir Terry Pratchett]( alive forever.
For as long as his name is still passed along the Clacks,
Death can't have him.

* G: send the message on
* N: do not log the message
* U: turn the message around at the end of the line and send it back again

with thanks to [this reddit thread](


You can install from pypi:

pip install django-GNU-Terry-Pratchett

or from source:

git clone
cd django-GNU-Terry-Pratchett
python install

Once installed add the middleware to you project:


We also provide a view decorator and a mixin for your Class-Based Views if you
don't want to have the header on every response.

from gnu_terry_pratchett.decorators import clacks_overhead
from gnu_terry_pratchett.views import ClacksMixin

# function view
def my_view(request):
return my_response

class MyView(ClacksMixin, View):
def get(self, request):
return my_response

Project details

Download files

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

Files for django-GNU-Terry-Pratchett, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size django-GNU-Terry-Pratchett-0.2.0.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page