{"id":17034972,"url":"https://github.com/justquick/django-xpower","last_synced_at":"2025-07-24T08:03:35.635Z","repository":{"id":968589,"uuid":"762077","full_name":"justquick/django-xpower","owner":"justquick","description":"Adds the X-Powered-By header to your Django site","archived":false,"fork":false,"pushed_at":"2010-07-07T16:14:28.000Z","size":211,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T13:13:15.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justquick.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-07T16:07:27.000Z","updated_at":"2018-07-22T14:54:03.000Z","dependencies_parsed_at":"2022-07-15T06:00:34.074Z","dependency_job_id":null,"html_url":"https://github.com/justquick/django-xpower","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fdjango-xpower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fdjango-xpower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fdjango-xpower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justquick%2Fdjango-xpower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justquick","download_url":"https://codeload.github.com/justquick/django-xpower/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571863,"owners_count":21126522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T08:45:09.276Z","updated_at":"2025-04-12T13:13:19.489Z","avatar_url":"https://github.com/justquick.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django X Power\n===============\n\n:Authors:\n   Justin Quick \u003cjustquick@gmail.com\u003e\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustquick%2Fdjango-xpower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustquick%2Fdjango-xpower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustquick%2Fdjango-xpower/lists"}