I'm using django gis app. My model is like this:
-- 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:
How can I fix the problem? Thank you for your attention.
You can see the whole demo project and code in this repository.
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.


No comments:
Post a Comment