def __init__ ( self, key_trait = None, value_trait = None, value = None,
                   items = True, **metadata ):
        if isinstance( key_trait, dict ):
            key_trait, value_trait, value = value_trait, value, key_trait

        if value is None:
            value = {}

        self.key_trait   = trait_from( key_trait )
        self.value_trait = trait_from( value_trait )
        self.has_items   = items

        handler = self.value_trait.handler
        if (handler is not None) and handler.has_items:
            handler = handler.clone()
            handler.has_items = False
        self.value_handler = handler

        super( Dict, self ).__init__( value, **metadata )
Trigger view for filebrowser
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/Dict.__init__--crossover with--dataset/ETHPy150Open aisayko/Django-tinymce-filebrowser/mce_filebrowser/views.py/filebrowser