Beispiel #1
0
def create_dir(name):
    d = Directory(name=name)
    d.save()
    return d
Beispiel #2
0
 def create_dir(self, dir_name):
     d = Directory(name=dir_name)
     d.save()
     return d