{ "info": { "author": "Justin Quick", "author_email": "justquick@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "Django X Power\n===============\n\n:Authors:\n Justin Quick \n:Version: 0.1\n\n\n::\n\n pip install django-xpower==0.1.0\n\nDjango X Power is a simple middleware that adds the ``X-Powered-By`` header to any Django site.\n\n \nInstall\n--------\n\nInstall the module using pip/easy_install or whatever you like then add in the middleware into your ``MIDDLEWARE_CLASSES``::\n\n MIDDLEWARE_CLASSES = (\n 'xpower.middleware.XPoweredByMiddleware',\n ...\n )\n\nConfigure\n----------\n\nIn your settings you may define the contents of the ``X-Powered-By`` header::\n\n X_POWERED_BY = 'Django'\n \nIf you do not set this it will use the default which is ``'Django/%(version)s``\nwhere ``%(version)s`` is replaced with the version of Django that you are using.\n\nTesting\n--------\n\nAn example project is provided so just run ``./manage.py runserver`` and then you can\nconfirm that it is working by running ``curl -i http://localhost:8000 | head``.\nYou should see something like this::\n\n HTTP/1.0 200 OK\n Date: Wed, 07 Jul 2010 15:40:59 GMT\n Server: WSGIServer/0.1 Python/2.6.1\n Content-Type: text/html\n X-Powered-By: Django/1.2.1 SVN-13336\n\n\nAlternates\n----------\n\nSome alternatives for the header contents:\n\n * Ponies with magical powers\n * Who the fuck knows\n * A series of tubes\n * Perfectionists with deadlines\n * Opinionated developers", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/justquick/django-xpower", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-xpower", "package_url": "https://pypi.org/project/django-xpower/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-xpower/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/justquick/django-xpower" }, "release_url": "https://pypi.org/project/django-xpower/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Adds the X-Powered-By header to your Django site", "version": "0.1.0" }, "last_serial": 791052, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "040d4557f518889b904f62a9a15320d9", "sha256": "34029587de05f572e46f6b2bb9669397e6c3546be7d16e34ecabafb59b86c007" }, "downloads": -1, "filename": "django-xpower-0.1.0.tar.gz", "has_sig": false, "md5_digest": "040d4557f518889b904f62a9a15320d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1766, "upload_time": "2010-07-07T18:14:31", "url": "https://files.pythonhosted.org/packages/d1/4b/085e5ea68d1667cb55dd6e7b6efd62ad87b84f76583fc22b6dc1642f9606/django-xpower-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "040d4557f518889b904f62a9a15320d9", "sha256": "34029587de05f572e46f6b2bb9669397e6c3546be7d16e34ecabafb59b86c007" }, "downloads": -1, "filename": "django-xpower-0.1.0.tar.gz", "has_sig": false, "md5_digest": "040d4557f518889b904f62a9a15320d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1766, "upload_time": "2010-07-07T18:14:31", "url": "https://files.pythonhosted.org/packages/d1/4b/085e5ea68d1667cb55dd6e7b6efd62ad87b84f76583fc22b6dc1642f9606/django-xpower-0.1.0.tar.gz" } ] }