Metadata-Version: 1.1
Name: django-subdomains-handler
Version: 0.2
Summary: Lightweight django subdomains handler
Home-page: http://www.piribo.net
Author: Piribo
Author-email: pierre.ricciobourgeois@gmail.com
License: BSD License
Description: =====
        Django Lightweight Subdomains Handler
        =====
        
        This is a very short Django Middleware to handle each subdomains
        with a specific URLconf file.
        
        Example
        -------
        
        If you want to have something like::
        
        	api.example.org
        	
        with a specific URLconf file for each of your subdomains
        
        This what you're looking for!
        
        Quick start
        -----------
        
        1. Add this on top of your MIDDLEWARE_CLASSES setting like this::
        
            MIDDLEWARE_CLASSES = (
                'django-subdomains-handler.subdomains.SubDomainMiddleware',
        		...
            )
        
        2. Add the SUBDOMAINS_URLCONF dict to your setting project file::
        
        	SUBDOMAINS_URLCONF = {
        		'api': 'api.urls',
        	}
        
            Where 'api.urls' is your Django-app 'api' and urls is your urls.py module
        
        3. Run your Django project and try to reach api.example.org
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
