I want to set the filter on distance by using the point field
i have model shop
class Shop(models.Model):
distance = models.PositiveIntegerField(null=True)
Shop_location = models.PointField(null=True)
the shop can define a distance from its location under which its id show to another user. when the user shares its location and the user able to see the shop which satisfies the condition. the condition is that the distance calculated between the user and shop less than or equal to the distance given by the shop