Ticket #20145: ticket20145-2.diff

File ticket20145-2.diff, 456 bytes (added by dgl, 2 years ago)

updated patch

  • django/db/models/fields/__init__.py

    diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py
    index a925f0c..7283b14 100644
    a b from __future__ import unicode_literals 
    22
    33import copy
    44import datetime
    5 import decimal
     5try:
     6    import cdecimal as decimal
     7except ImportError:
     8    import decimal
    69import math
    710import warnings
    811from base64 import b64decode, b64encode
Back to Top