2👍
✅
Your syntax is not correct, you should switch ‘poly’ and ‘mpoint’ like this:
nodes = Nodes.objects.filter(mpoint__contains=poly)
👤jcs
Source:stackexchange.com
2👍
Your syntax is not correct, you should switch ‘poly’ and ‘mpoint’ like this:
nodes = Nodes.objects.filter(mpoint__contains=poly)