Django集成socketio
使用django-socketio的时候在模版中写入:
{% load socketio_tags %}
{% socketio %}
运行工程提示错误如下:
VariableDoesNotExist at /socket-io/
Failed lookup for key [MEDIA_URL] in u"[{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x103293a50>, 'DJANGO_SOCKETIO_PORT': 9000}]]"
django-socketio python socketio django
mop观光团
9 years, 7 months ago