django-debug-toolbar-mongo
django-debug-toolbar-mongo copied to clipboard
Error running django-debug-toolbar-mongo on heroku
Hello,
I update the version of django-debug-toolbar and django-debug-toolbar-mongo and now I have the following error when running on heroku behind gunicorn but not when running on localhost with python manage run-server:
My versions are:
django-debug-toolbar==1.0.1 django-debug-toolbar-mongo==0.1.10 Django==1.5.1 mongoengine==0.8.6 pymongo==2.6
Error during template rendering
In template /app/.heroku/python/lib/python2.7/site-packages/debug_toolbar/templates/debug_toolbar/base.html, error at line 56 'MongoDebugPanel' object has no attribute 'context' 46 47 {% for panel in toolbar.panels %} 48 {% if panel.has_content and panel.enabled %} 49
50
60 {% endif %}
61 {% endfor %}
62
63
64
51 {% trans "Close" %}
52
54 {{ panel.title|safe }}
53
55
59
56 {% if not toolbar.store_id %}{{ panel.content }}{% endif %}
57
58