res= table.objects.values('lat','lng')
res1 = table1.objects.values('lat','lng')
res1=[{'lat': u'22.216021036729217', 'lng': u'84.83377508819103'}]
res=[{'lat': u'15.898394035175443', 'lng': u'73.82306920364499'}]
我想将结果添加res
到:res1
poi
poi = [{'lat': u'15.898394035175443', 'lng': u'73.82306920364499'},{'lat': u'22.216021036729217', 'lng': u'84.83377508819103'} ]
我已经尝试过poi=list(res)+list(res1)
,但出现以下错误:
list referenced before assignment