I'm using django gis app. My model is like this: <https://lh3.googleusercontent.com/-dVausGAScrE/WjeJ4DPgTnI/AAAAAAAAACw/7yfzkkQJ9mkvT40y3VC4RgDH4-SFfDgxwCLcBGAs/s1600/model.png> And the command MyPoint3.objects.filter(point__distance_lt=(Point(0,0), 4)) runs successfully in django 2.0 version, but it fails running in django v1.11. The trace_back info is like this: <https://lh3.googleusercontent.com/-qFQLHyThvQ4/WjeLHvep2FI/AAAAAAAAAC8/Z5Rw1aTkzCA2Hd3iWAs33y8N1jG__BMLQCLcBGAs/s1600/fail.png>
How can I fix the problem? Thank you for your attention. You can see the whole demo project and code in this repository. <https://github.com/ramwin/geodjango> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d90a2f6d-3a98-4ebb-9603-2535127f0698%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

