Author: ikelly Date: 2009-01-16 10:51:01 -0600 (Fri, 16 Jan 2009) New Revision: 9761
Modified: django/trunk/django/db/backends/oracle/base.py Log: Fixed #6767: corrected a 2.3 compatibility issue in [9750]. Thanks to tlow. Modified: django/trunk/django/db/backends/oracle/base.py =================================================================== --- django/trunk/django/db/backends/oracle/base.py 2009-01-16 15:32:31 UTC (rev 9760) +++ django/trunk/django/db/backends/oracle/base.py 2009-01-16 16:51:01 UTC (rev 9761) @@ -7,7 +7,10 @@ import os import datetime import time -from decimal import Decimal +try: + from decimal import Decimal +except ImportError: + from django.utils._decimal import Decimal # Oracle takes client-side character set encoding from the environment. os.environ['NLS_LANG'] = '.UTF8' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
