我想为用户提供下载JSON格式的数据库的机会。为此,我首先获取记录,然后将它们转换为JSON格式并写入文件。但是,当我将应用程序移动到生产服务器时,它为我提供了 You don't have permission to access /saveJson on this server.', 'genes.gene_models.aro_categories')
->where('curated', '<>
cursor.execute("select winner,count(winner) as count from DB")现在,我想用JSON将数据中的表发送给我的应用程序(作为GET请求)。这样做并不是发送格式正确的JSON响应,并且我无法在客户端解析它。return HttpResponse(json.dumps(data), content_type='application/json</e