'Deletes the records in the current QuerySet.'

def delete(self):

    assert self.query.can_filter(), "Cannot    use    'limit'    or    'offset'    with    delete."
    del_query = self._clone()
    del_query._for_write = True
    del_query.query.select_for_update = False
    del_query.query.select_related = False
    del_query.query.clear_ordering(force_empty=True)
    collector = Collector(using=del_query.db)
    collector.collect(del_query)
    collector.delete()
    self._result_cache = None
