def delete_row(self, user, external_id):
        self.lock()

        try:
            solr.delete(settings.SOLR_DATA_CORE, 'dataset_slug:%s AND external_id:%s' % (self.slug, external_id), commit=True)
        
            self.row_count = self._count_rows()
            self.last_modified = now()
            self.last_modified_by = user
            self.last_modification = _('1 row deleted')
            self.save()
        finally:
            self.unlock()
Return file's current position.
dataset/ETHPy150Open pandaproject/panda/panda/models/dataset.py/Dataset.delete_row--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/files/records.py/RecordsReader.tell