(self, app)
If not already there, adds a directory for views, urls and templates.
If not already there, adds a directory for views, urls and templates.
If not already there adds a directory for views urls and templates .
def create_directories(self, app):
        """
            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.path, folder_name)
            if not os.path.exists(directory_path):
                os.makedirs(directory_path)
def create_directories ( self , app ) : for folder_name in [ "views" , "urls" , "templates/%s" % app . label ] : directory_path = "%s/%s" % ( app . path , folder_name ) if not os . path . exists ( directory_path ) : os . makedirs ( directory_path )