@classmethod
    def class_to_json(cls, site):
        return {
            '__class__': "%s.%s" % (cls._meta.app_label, cls._meta.model_name),
            'title': capfirst(cls._meta.verbose_name),
            'css_classes': cls.get_class_css_classes(),
            'tooltip': cls.tooltip and force_text(cls.tooltip),
        }
``from_path`` creates a directory structure if it doesn't already
dataset/ETHPy150Open fusionbox/django-widgy/widgy/models/base.py/Content.class_to_json--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/LoopbackBlockDeviceAPIImplementationTests.test_initialise_directories