python - django conversejs app not working -


i making django-conversejs application django. have followed tutorial of django-conversejs page. when try run it, error occurred. have added conversejs app in settings installed apps. debug trace gives error

below code html page.

  <!doctype html>  {% load conversejs %}  <html>   <head>     <title>test app</title>      {% conversejs_static %}  </head> <body>   <h1>hello, conversjs!</h1> {% conversejs_chatpanel %} {% conversejs_initialize %} </body> </html> 

in settings.py file using bosh xmpp server link

 conversejs_bosh_service_url = 'https://conversejs.org/http-bind/' 

when run app shows following error

 exception type:    attributeerror  exception value:     'nonetype' object has no attribute 'user'  exception location:    d:\pythondev\django_dev\sunny_project\env_sunny\lib\site-packages\conversejs\utils.py in get_conversejs_context, line 21 


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

qt - How to embed QML toolbar and menubar into QMainWindow -