Code Monkey home page Code Monkey logo

django-debug-toolbar-mongo's People

Contributors

brianz avatar colinhowe avatar d0ugal avatar gehan avatar git2samus avatar heyman avatar hmarr avatar prymitive avatar rozza avatar viotti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-debug-toolbar-mongo's Issues

Getting an exception

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

Duplicate mongo operations

Hello,

I always have up to 40 mongo operations (of the same or empty queries) something like.

Anyone have the same problem?

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

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

Does not install templates

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

Pypi version update

Not sure if it s the place to post this, but...
The version on Pypi is 0.1.5, maybe you should update ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.