

def clear(self):
    db = router.db_for_write(self.cache_model_class)
    table = connections[db].ops.quote_name(self._table)
    cursor = connections[db].cursor()
    cursor.execute(('DELETE FROM %s' % table))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/core/cache/backends/db.py DatabaseCache.clear/original