title: PostGIS geography does not support the "~=" function/operator
body: <p>I am trying to save point field in the database via <code>update_or_create</code> method but it is giving me this error.</p>
  <p>My function to save data:</p>
  <pre><code>    for city in cities_data:
          obj, created = models.City.objects.update_or_create(
              name = city[&quot;name&quot;],
              country = city[&quot;country&quot;],
              state = city[&quot;state&quot;],
              point = Point(
                  float(city[&quot;longitude&quot;]),
                  float(city[&quot;latitude&quot;])   
              ),
              radius = city[&quot;radius&quot;],
              is_curated = city[&quot;is_curated&quot;],
              is_metro_city = city[&quot;is_metro_city&quot;]
          )
          obj.save()
  </code></pre>
  <p>Model:</p>
  <pre><code>class City(models.Model):
      name = models.CharField(max_length=50)
      country = models.CharField(max_length=50)
      state = models.CharField(max_length=50)
      point = gis_models.PointField(geography=True, null=True)
      is_metro_city = models.BooleanField(default=False)
      is_curated = models.BooleanField(default=False)
      radius = models.IntegerField(null=True)
  </code></pre>
  <p>when I try to run this I get this error:</p>
  <pre><code>ValueError: PostGIS geography does not support the &quot;~=&quot; function/operator.
  </code></pre>
  <p>I want to know why I am getting this error, I did not find any useful information related to this. Thanks in Advance.</p>