I\'m trying to build a realtime chat app in Django(1.7.1). It seems that I needed to install Redis and ishout.js. So I installed them by following the instructions.
Aft
You are using an outdated version of django-realtime
.
Upgrade it to the latest version, they fixed the 1.7 compatibility:
pip install django-realtime --upgrade
If the error persists, install directly from github, master branch:
$ pip install git+https://github.com/anishmenon/django-realtime.git --upgrade
FYI, the fix:
try:
from django.utils import simplejson as json
except:
import simplejson as json
Bare exception clause - zen programmer inside is killing me whispering except ImportError
, except ImportError
, except..