{ "info": { "author": "Dalton Hubble", "author_email": "dghubble@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP" ], "description": "django-unslashed\n================\n\n.. image:: https://pypip.in/version/django-unslashed/badge.png\n :target: https://pypi.python.org/pypi/django-unslashed/\n :alt: Latest Version\n\n.. image:: https://travis-ci.org/dghubble/django-unslashed.png\n :target: https://travis-ci.org/dghubble/django-unslashed\n :alt: Build Status\n\n.. image:: https://pypip.in/download/django-unslashed/badge.png\n :target: https://pypi.python.org/pypi/django-unslashed/\n :alt: Downloads\n\n.. image:: https://pypip.in/license/django-unslashed/badge.png\n :target: https://pypi.python.org/pypi/django-unslashed/\n :alt: License\n\nThis middleware provides the inverse of the Django CommonMiddleware :code:`APPEND_SLASH` feature. It can automatically remove trailing URL slashes and 301 redirect to the non-slash-terminated URL. This behavior is performed if the initial URL ends in a slash and is invalid, removing the trailing slash produces a valid URL, and :code:`REMOVE_SLASH` is set to True. Otherwise there is no effect.\n\nFor example, :code:`foo.com/bar/` will be redirected to :code:`foo.com/bar` if you don't have a valid URL pattern for :code:`foo.com/bar/` but do have a valid pattern for foo.com/bar and :code:`REMOVE_SLASH=True`.", "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/dghubble/django-unslashed", "keywords": "django slash remove trailing unslash remove_slash path", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-unslashed", "package_url": "https://pypi.org/project/django-unslashed/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-unslashed/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dghubble/django-unslashed" }, "release_url": "https://pypi.org/project/django-unslashed/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Django Middleware that can automatically remove trailing URL slashes and 301 redirect to the non-slash-terminated URL.", "version": "0.3.0" }, "last_serial": 1353881, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "3f0f604a234b4a9fba6011e8a1747bd1", "sha256": "7020771fee6fa3116822b3a3b8875e0f111d40df9372ed5e3d1e88ff2509f3b2" }, "downloads": -1, "filename": "django-unslashed-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3f0f604a234b4a9fba6011e8a1747bd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6624, "upload_time": "2013-12-18T15:04:10", "url": "https://files.pythonhosted.org/packages/e1/f8/3b3240581216b753a2673b25705bdc0434e4dccc33da42076b3782eca3d6/django-unslashed-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f09ff77fe9f65bb23cfe2f8506cf727e", "sha256": "62430dc135bff43ac970fccf2bba180288f85f0dd179ad344d0c01da2d4c5340" }, "downloads": -1, "filename": "django-unslashed-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f09ff77fe9f65bb23cfe2f8506cf727e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7398, "upload_time": "2014-12-19T05:07:04", "url": "https://files.pythonhosted.org/packages/fe/e0/ddb9bd7712f6bda335223906e8971b526837fec5fb259046d37e4637732c/django-unslashed-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f09ff77fe9f65bb23cfe2f8506cf727e", "sha256": "62430dc135bff43ac970fccf2bba180288f85f0dd179ad344d0c01da2d4c5340" }, "downloads": -1, "filename": "django-unslashed-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f09ff77fe9f65bb23cfe2f8506cf727e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7398, "upload_time": "2014-12-19T05:07:04", "url": "https://files.pythonhosted.org/packages/fe/e0/ddb9bd7712f6bda335223906e8971b526837fec5fb259046d37e4637732c/django-unslashed-0.3.0.tar.gz" } ] }