ããããDjango飽ãã¦ããã CSVãã¡ã¤ã«ãJSONã§é ãã ãã®ç°¡åãªDjangoã¢ããªä½ã£ã¦ã¾ãã ããç¨åº¦åºæ¥ããã ãã©ãå®éã«åããã¨ãµã¯ãµã¯ãã¦ãªãã®ã§ãDB使ãã°éããªãããããªããã¨ç´ 人èãã§ãSQLite使ã£ã¦å®è£ ãã¾ããã CSVãã¼ã¸ã§ã³ ãã¡ã¤ã«éãã¦ãã¹ããªãããã¦Listè©°ãç´ãã¦jsonã«ããã ã from django.utils import simplejson as json file = open(makeFilePath(DATA_PATH, file_name), 'r') res = file.readlines() resArr = [] for i in res: x = i.split(',') resArr.append([str(x[0]),str(x[1]),str(x[2]),str(x[3]),str(x[4][:-1])])
{{#tags}}- {{label}}
{{/tags}}