Ticket #1301: query.py.diff
File query.py.diff, 669 bytes (added by , 19 years ago) |
---|
-
django/db/models/query.py
429 429 # objects -- MySQL returns the values as strings, instead. 430 430 return [typecast_timestamp(str(row[0])) for row in cursor.fetchall()] 431 431 432 def _clone(self, klass=None, **kwargs): 433 c = super(DateQuerySet, self)._clone(klass, **kwargs) 434 c._field = self._field 435 c._kind = self._kind 436 c._order = self._order 437 return c 438 432 439 class QOperator: 433 440 "Base class for QAnd and QOr" 434 441 def __init__(self, *args):