Ticket #15836: 15836.patch
File 15836.patch, 709 bytes (added by , 14 years ago) |
---|
-
django/db/models/manager.py
201 201 return self.get_query_set()._update(values, **kwargs) 202 202 203 203 def raw(self, raw_query, params=None, *args, **kwargs): 204 return RawQuerySet(raw_query=raw_query, model=self.model, params=params, using=self._db, *args, **kwargs) 204 return RawQuerySet(raw_query=raw_query, model=self.model, 205 params=tuple(params), using=self._db, *args, **kwargs) 205 206 206 207 class ManagerDescriptor(object): 207 208 # This class ensures managers aren't accessible via model instances.