hmarr / django-debug-toolbar-mongo Goto Github PK
View Code? Open in Web Editor NEWMongoDB panel for the Django Debug Toolbar
License: MIT License
MongoDB panel for the Django Debug Toolbar
License: MIT License
Django Version: 1.8.15
Exception Type: TypeError
Exception Value:
init() got an unexpected keyword argument 'safe'
Exception Location: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pymongo/collection.py in update, line 2241
Python Executable: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python Version: 2.7.6
Pymongo 3.x.0 (2.9.4 worked fine), tested up to 3.3.0
mongoengine 0.10.6
Hello,
I always have up to 40 mongo operations (of the same or empty queries) something like.
Anyone have the same problem?
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
setup.py is missing a line::
package_data={ 'debug_toolbar_mongo': ['templates/*'] }
The lack of this means that if you use setup.py to install you don't get the mongo_panel.html file
Not sure if it s the place to post this, but...
The version on Pypi is 0.1.5, maybe you should update ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.