Hi everyone o/
I am new to python anywhere. I came here looking for a hosting solution that would satisfies one of my customer's requirements and I must say I am not disapointed.
It took me less than 1 hour to setup the test website, wich, having tried other hosting companies during the last week, is really impressive - and it supports python 3!
While my test website is now properly set up for the MySQL backend (I'm on a free plan but my customer will sign up for a 5$ plan) I ran into some trouble when querying the Django ORMĀ for all entries of a table that lives in a certain radius.
Here is the actual query:
places = Places.objects.filter(location__coords__distance_lte=(user_pos,radius))
This query returns the following error:
NotImplementedError - Distance operations not available on this spatial backend.
I can't try on PostGIS, so I'm wondering if:
- The PostGIS backend is available on PA
- The query will not raise this error when using the PostGIS backend
- As a backup strategy, Spatialite is available on PA
Does someone on the forum have any answer? Anyway, thank you for your awesome work on PythonAnywhere, I think this might become my default solution to host customers by now! :D