Skip to content

Django 1.7 (1.6?) simplejson update #4

@tony

Description

@tony

(I haven't used this module for a while and up upgrading a django from 1.4, so I don't know the full bg of what happened with json)

  File "/home/tony/workspace/hsk-django/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 230, in callback
    self._callback = get_callable(self._callback_str)
  File "/home/tony/workspace/hsk-django/.env/local/lib/python2.7/site-packages/django/utils/lru_cache.py", line 101, in wrapper
    result = user_function(*args, **kwds)
  File "/home/tony/workspace/hsk-django/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 96, in get_callable
    mod = import_module(mod_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/tony/workspace/hsk-django/flashcards/views.py", line 6, in <module>
    from dynamicresponse.response import Serialize
  File "/home/tony/workspace/hsk-django/.env/local/lib/python2.7/site-packages/dynamicresponse/response.py", line 7, in <module>
    from dynamicresponse.json_response import JsonResponse
  File "/home/tony/workspace/hsk-django/.env/local/lib/python2.7/site-packages/dynamicresponse/json_response.py", line 4, in <module>
    from dynamicresponse.emitters import JSONEmitter
  File "/home/tony/workspace/hsk-django/.env/local/lib/python2.7/site-packages/dynamicresponse/emitters.py", line 9, in <module>
    from django.utils import simplejson
ImportError: cannot import name simplejson

Looks like the fix in https://github.com/toastdriven/django-tastypie/pull/1070, https://github.com/toastdriven/django-tastypie/pull/1094 may be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions