{
"info": {
"author": "Richard Cornish",
"author_email": "rich@richardcornish.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.10",
"Framework :: Django :: 1.11",
"Framework :: Django :: 1.8",
"Framework :: Django :: 1.9",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": "Django Remove WWW\n*********************\n\n|PyPI version|_ |Build status|_\n\n.. |PyPI version| image::\n https://badge.fury.io/py/django-removewww.svg\n.. _PyPI version: https://pypi.python.org/pypi/django-removewww\n\n.. |Build status| image::\n https://travis-ci.org/richardcornish/django-removewww.svg?branch=master\n.. _Build status: https://travis-ci.org/richardcornish/django-removewww\n\n**Django Remove WWW** is a `Django `_ `middleware `_ application that removes the WWW subdomain.\n\nThe middleware inspects the request's host for the ``www`` subdomain, and redirects if ``REMOVE_WWW`` is ``True``. It silently passes if |prepend_www|_ is also ``True``. For some reason, Django `won't include `_ a ``REMOVE_WWW`` setting. Thanks to Daniel Ryan's `GitHub Gist `_ for some inspiration.\n\n.. |prepend_www| replace:: ``PREPEND_WWW``\n.. _prepend_www: https://docs.djangoproject.com/en/1.11/ref/settings/#prepend-www\n\n* `Package distribution `_\n* `Code repository `_\n* `Documentation `_\n* `Tests `_\n\nInstall\n=======\n\n.. code-block:: bash\n\n $ pip install django-removewww\n\nAdd to ``settings.py``.\n\n.. code-block:: python\n\n MIDDLEWARE = [\n # ...\n 'removewww.middleware.RemoveWwwMiddleware',\n ]\n\n REMOVE_WWW = True\n\nAdding to ``INSTALLED_APPS`` is unnecessary unless you want to run the tests.\n\n\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/richardcornish/django-removewww",
"keywords": "",
"license": "BSD License",
"maintainer": "",
"maintainer_email": "",
"name": "django-removewww",
"package_url": "https://pypi.org/project/django-removewww/",
"platform": "",
"project_url": "https://pypi.org/project/django-removewww/",
"project_urls": {
"Homepage": "https://github.com/richardcornish/django-removewww"
},
"release_url": "https://pypi.org/project/django-removewww/0.1.2/",
"requires_dist": null,
"requires_python": "",
"summary": "A Django middleware application that removes the WWW subdomain",
"version": "0.1.2"
},
"last_serial": 3029459,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "476c64967d7532c42c1f9d6820b9d08b",
"sha256": "9c3a8eb18879cec275e93224fff2ae1f7a3909b55e12be6759bc2a93c25f0023"
},
"downloads": -1,
"filename": "django-removewww-0.1.tar.gz",
"has_sig": false,
"md5_digest": "476c64967d7532c42c1f9d6820b9d08b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 864645,
"upload_time": "2016-08-25T04:46:09",
"url": "https://files.pythonhosted.org/packages/f7/04/94680cc177801892332a40ebcce81c4ef2245aebb0c28b9cc4904a5b9b95/django-removewww-0.1.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "7c4403580de06746fb74d38d732c765d",
"sha256": "b5ee2e4cdd647f4bee7a0bba027e2a51adb8fa7f1dee4d8e0c8713480eefd25a"
},
"downloads": -1,
"filename": "django-removewww-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "7c4403580de06746fb74d38d732c765d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3248537,
"upload_time": "2017-04-10T21:23:10",
"url": "https://files.pythonhosted.org/packages/9c/5f/f1276825a2d7dfbc566d6acbe23a12401b9904a3030c1fa96094c5ef9363/django-removewww-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "f9b360031c9fd54bb0cf5d2c8a6e1d68",
"sha256": "029d2dfcd4452c250f7f076b5595eefe67f4293ebd89c8a778c4bbb251e36fdb"
},
"downloads": -1,
"filename": "django_removewww-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9b360031c9fd54bb0cf5d2c8a6e1d68",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6053,
"upload_time": "2017-07-17T19:08:53",
"url": "https://files.pythonhosted.org/packages/d6/8a/56b091318a7d09d2f34911f0e99defa2d45776d0b602261f09e5f644906f/django_removewww-0.1.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f5691ecbf718d6d3e4f4e79020cca99a",
"sha256": "6200f79971db313e55e851a306aef4590b8e8fa550c1d067cd389381a1bf806d"
},
"downloads": -1,
"filename": "django-removewww-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "f5691ecbf718d6d3e4f4e79020cca99a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3248769,
"upload_time": "2017-07-17T19:09:27",
"url": "https://files.pythonhosted.org/packages/bd/8f/8c9440c9ac91dd1a75f9134a3bcf77977dbdc83474bed219e32db69866bf/django-removewww-0.1.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "f9b360031c9fd54bb0cf5d2c8a6e1d68",
"sha256": "029d2dfcd4452c250f7f076b5595eefe67f4293ebd89c8a778c4bbb251e36fdb"
},
"downloads": -1,
"filename": "django_removewww-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9b360031c9fd54bb0cf5d2c8a6e1d68",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6053,
"upload_time": "2017-07-17T19:08:53",
"url": "https://files.pythonhosted.org/packages/d6/8a/56b091318a7d09d2f34911f0e99defa2d45776d0b602261f09e5f644906f/django_removewww-0.1.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f5691ecbf718d6d3e4f4e79020cca99a",
"sha256": "6200f79971db313e55e851a306aef4590b8e8fa550c1d067cd389381a1bf806d"
},
"downloads": -1,
"filename": "django-removewww-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "f5691ecbf718d6d3e4f4e79020cca99a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3248769,
"upload_time": "2017-07-17T19:09:27",
"url": "https://files.pythonhosted.org/packages/bd/8f/8c9440c9ac91dd1a75f9134a3bcf77977dbdc83474bed219e32db69866bf/django-removewww-0.1.2.tar.gz"
}
]
}