| ▲ | ErroneousBosh an hour ago | |
That is actually awesome :-) I'll try that. I was really just going to try and wrap it in a function to stick in the model so I can say something like Site.objects.get(id=thing).distance_from(lat,long) in. But, now the bit that I was calling that from is actually being done from a websocket handler, and that's written in Go because Django and websockets seems very complex. | ||