django-debug-toolbar-mongo icon indicating copy to clipboard operation
django-debug-toolbar-mongo copied to clipboard

Error running django-debug-toolbar-mongo on heroku

Open gracaninja opened this issue 11 years ago • 0 comments

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
51 {% trans "Close" %} 52

{{ panel.title|safe }}

53
54
55
56 {% if not toolbar.store_id %}{{ panel.content }}{% endif %} 57
58
59
60 {% endif %} 61 {% endfor %} 62
63 64

gracaninja avatar Jan 18 '14 00:01 gracaninja