Metadata-Version: 1.1
Name: dj-casing
Version: 0.1.1
Summary: Allow case insensitive URLs while enforcing the right URL.
Home-page: https://github.com/wellfire/dj-casing
Author: Ben Lopatin
Author-email: ben@wellfire.co
License: BSD
Description: ===================================
        dj-casing for casE iNsensitive UrLS
        ===================================
        
        Allow case insensitive URLs while enforcing the right URL.
        
        Apply the `case_insenstive` decorator if you have URLs which should match
        regardless of case, but you don't want those URLs hanging out there when a user
        visits.
        
        Installation
        ------------
        
        Install dj-casing::
        
            pip install djcasing
        
        Decorating a view
        -----------------
        
        Then use it in a project::
        
            from djcasing import case_insenstive
        
        
            @case_insensitive
            def some_view(request, urlarg_one, urlarg_two):
                # do stuff here
        
        Now URLs of the form `http://example.com/BobsWorld/PageOne/` can be matched to
        `http://examle.com/bobsworld/pageone` and visitors will be immediately
        redirected to the latter URL.
        
        License
        -------
        
        BSD licensed.
        
Keywords: djcasing
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
