def save(self, * args, ** kwargs):
        if not self.point:
            raise django.db.IntegrityError('Attribute point must be given.')
        if not self.leaves:
            raise django.db.IntegrityError('Attribute leaves must be given.')
        if (    (not self.street or not self.town or not self.postcode)
                and not self.georss_point):
            raise django.db.IntegrityError('Give either address details or georss_point')
        self.complete_fields()
        super(Location, self).save(*args, ** kwargs)
Ensures integrity
dataset/ETHPy150Open dgraziotin/dycapo/server/models/location.py/Location.save