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)
Deletes a ticket from the database.
dataset/ETHPy150Open dgraziotin/dycapo/server/models/location.py/Location.save--crossover with--dataset/ETHPy150Open getlogbook/logbook/logbook/ticketing.py/BackendBase.delete_ticket