def get_pic_folder(self): path = os.path.join(settings.DATA_DIR, "research", str(self.id), "pic") if not os.path.exists(path): os.makedirs(path) return path