def create_directories(self, app_label):
        """
            If not already there, adds a directory for views, urls and templates.
        """
        for folder_name in ["views", "urls", "templates/%s" % app_label]:
            directory_path = "%s/%s" % (app_label, folder_name)
            if not os.path.exists(directory_path):
                os.makedirs(directory_path)
dataset/ETHPy150Open krisfields/django-baker/django_baker/bakery.py/Baker.create_directories/original