Ticket #18022: import_json.diff

File import_json.diff, 456 bytes (added by Clueless, 3 years ago)
  • django/utils/simplejson/__init__.py

    diff --git a/django/utils/simplejson/__init__.py b/django/utils/simplejson/__init__.py
    index a9418da..95cd129 100644
    a b if not use_system_version: 
    129129
    130130        use_system_version = True
    131131        # Make sure we copy over the version. See #17071
     132        import json
    132133        __version__ = json.__version__
    133134    except (ImportError, NameError):
    134135        pass
Back to Top