Metadata-Version: 1.1
Name: django-unslashed
Version: 0.3.0
Summary: Django Middleware that can automatically remove trailing URL slashes and 301 redirect to the non-slash-terminated URL.
Home-page: https://github.com/dghubble/django-unslashed
Author: Dalton Hubble
Author-email: dghubble@gmail.com
License: MIT License
Description: django-unslashed
        ================
        
        .. image:: https://pypip.in/version/django-unslashed/badge.png
            :target: https://pypi.python.org/pypi/django-unslashed/
            :alt: Latest Version
        
        .. image:: https://travis-ci.org/dghubble/django-unslashed.png
            :target: https://travis-ci.org/dghubble/django-unslashed
            :alt: Build Status
        
        .. image:: https://pypip.in/download/django-unslashed/badge.png
            :target: https://pypi.python.org/pypi/django-unslashed/
            :alt: Downloads
        
        .. image:: https://pypip.in/license/django-unslashed/badge.png
            :target: https://pypi.python.org/pypi/django-unslashed/
            :alt: License
        
        This 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.
        
        For 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`.
Keywords: django slash remove trailing unslash remove_slash path
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
Classifier: Topic :: Internet :: WWW/HTTP
