Loading django/db/backends/oracle/base.py +1 −1 Original line number Diff line number Diff line Loading @@ -446,7 +446,7 @@ WHEN (new.%(col_name)s IS NULL) bounds = super(DatabaseOperations, self).year_lookup_bounds_for_datetime_field(value) if settings.USE_TZ: bounds = [b.astimezone(timezone.utc).replace(tzinfo=None) for b in bounds] return [b.isoformat(b' ') for b in bounds] return [b.isoformat(str(' ')) for b in bounds] def combine_expression(self, connector, sub_expressions): "Oracle requires special cases for %% and & operators in query expressions" Loading docs/releases/1.6.5.txt +2 −1 Original line number Diff line number Diff line Loading @@ -9,4 +9,5 @@ Django 1.6.5 fixes several bugs in 1.6.4. Bugfixes ======== * ... * Made the ``year_lookup_bounds_for_datetime_field`` Oracle backend method Python 3 compatible (`#22551 <http://code.djangoproject.com/ticket/22551>`_). Loading
django/db/backends/oracle/base.py +1 −1 Original line number Diff line number Diff line Loading @@ -446,7 +446,7 @@ WHEN (new.%(col_name)s IS NULL) bounds = super(DatabaseOperations, self).year_lookup_bounds_for_datetime_field(value) if settings.USE_TZ: bounds = [b.astimezone(timezone.utc).replace(tzinfo=None) for b in bounds] return [b.isoformat(b' ') for b in bounds] return [b.isoformat(str(' ')) for b in bounds] def combine_expression(self, connector, sub_expressions): "Oracle requires special cases for %% and & operators in query expressions" Loading
docs/releases/1.6.5.txt +2 −1 Original line number Diff line number Diff line Loading @@ -9,4 +9,5 @@ Django 1.6.5 fixes several bugs in 1.6.4. Bugfixes ======== * ... * Made the ``year_lookup_bounds_for_datetime_field`` Oracle backend method Python 3 compatible (`#22551 <http://code.djangoproject.com/ticket/22551>`_).