Metadata-Version: 1.0
Name: django-class-registry
Version: 0.0.3
Summary: Register any classes like Django's admin.
Home-page: http://github.com/imtapps/django-class-registry
Author: imtapps
Author-email: imtapps@apps-system.com
License: UNKNOWN
Description: Allows you to create any Registry, similar to how django's admin
        has you register classes, or their template library has you register tags.
        
        
        Usage
        ======
        
        ::
        
            from class_registry import Registry
        
            site = Registry()
        
            @site.register
            class MyCoolClass(object):
              """
              My class that should be registered.
              """
              key = "ABC"
        
        
            >>> site["ABC"]
            <class 'MyCoolClass'>
        
        Alternate use
        -------------
        
        Or, if you want your own key name, specify it when you register the class.::
        
            container = Registry(key_name="other_key")
        
            @container.register
            class MyCoolClass(object):
              other_key = "POL-COOL-CLS"
        
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
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: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
