def update(self, **kwargs):
        assert self.query.can_filter(), \
            "Cannot update a query once a slice has been taken."
        self._for_write = True
        query = self.query.clone(sql.UpdateQuery)
        query.add_update_values(kwargs)
        with transaction.atomic(using=self.db, savepoint=False):
            rows = query.get_compiler(self.db).execute_sql(CURSOR)
        self._result_cache = None
        return rows
Default filter form data when no GET data is provided.
dataset/ETHPy150Open django/django/django/db/models/query.py/QuerySet.update--crossover with--dataset/ETHPy150Open caktus/django-timepiece/timepiece/reports/views.py/HourlyReport.defaults