{ "info": { "author": "Aaron Bassett", "author_email": "aaron@rawtech.io", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "Django GNU Terry Pratchett\n==========================\n\nKeeping the legacy of [Sir Terry Pratchett](http://en.wikipedia.org/wiki/Terry_Pratchett) alive forever.\nFor as long as his name is still passed along the Clacks,\nDeath can't have him.\n\n* G: send the message on\n* N: do not log the message\n* U: turn the message around at the end of the line and send it back again\n\nwith thanks to [this reddit thread](http://www.reddit.com/r/discworld/comments/2yt9j6/gnu_terry_pratchett/)\n\nInstallation\n------------\n\nYou can install from pypi:\n\n pip install django-GNU-Terry-Pratchett\n\nor from source:\n\n git clone git@github.com:aaronbassett/django-GNU-Terry-Pratchett.git\n cd django-GNU-Terry-Pratchett\n python setup.py install\n\nOnce installed add the middleware to you project:\n\n MIDDLEWARE_CLASSES=(\n ...\n 'gnu_terry_pratchett.middleware.ClacksMiddleware',\n ),\n\nWe also provide a view decorator and a mixin for your Class-Based Views if you\ndon't want to have the header on every response.\n\n from gnu_terry_pratchett.decorators import clacks_overhead\n from gnu_terry_pratchett.views import ClacksMixin\n\n\n # function view\n @clacks_overhead\n def my_view(request):\n ...\n return my_response\n\n\n # CBV\n class MyView(ClacksMixin, View):\n def get(self, request):\n ...\n return my_response", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aaronbassett/django-GNU-Terry-Pratchett", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-GNU-Terry-Pratchett", "package_url": "https://pypi.org/project/django-GNU-Terry-Pratchett/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-GNU-Terry-Pratchett/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aaronbassett/django-GNU-Terry-Pratchett" }, "release_url": "https://pypi.org/project/django-GNU-Terry-Pratchett/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "You know they'll never really die while the Trunk is alive", "version": "0.2.0" }, "last_serial": 1470003, "releases": { "0.1.0": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e881298d6cf9122b06acacce62a650ba", "sha256": "256a1274ce9ace02a2efb13cb79b4ce1d2e5c09a62e6d72d1625e90d6df95172" }, "downloads": -1, "filename": "django-GNU-Terry-Pratchett-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e881298d6cf9122b06acacce62a650ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2547, "upload_time": "2015-03-20T15:48:26", "url": "https://files.pythonhosted.org/packages/d2/8a/b1962d4a33a91b4c3e0c4f73565d02e01ca89cc416d1eef8de48db00b6c2/django-GNU-Terry-Pratchett-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e881298d6cf9122b06acacce62a650ba", "sha256": "256a1274ce9ace02a2efb13cb79b4ce1d2e5c09a62e6d72d1625e90d6df95172" }, "downloads": -1, "filename": "django-GNU-Terry-Pratchett-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e881298d6cf9122b06acacce62a650ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2547, "upload_time": "2015-03-20T15:48:26", "url": "https://files.pythonhosted.org/packages/d2/8a/b1962d4a33a91b4c3e0c4f73565d02e01ca89cc416d1eef8de48db00b6c2/django-GNU-Terry-Pratchett-0.2.0.tar.gz" } ] }