Giter Club home page Giter Club logo

django-jhouston's Introduction

django-jhouston

"Houston, we have a Javascript problem!"

jhouston catches Javascript errors occuring in the browser and automatically posts them to the server. There they are stored in the database for debugging & analysis purposes. This opens up a whole new view on what is happening client-side.

Installation

settings.py:

INSTALLED_APPS = (
    ...
    'jhouston',

urls.py:

urlpatterns = patterns('',
    ...
    (r'^jhouston/', include('jhouston.urls')))

base.html:

...
<script src="/static/jhouston/js/jhouston.js" type="text/javascript">
</script>

django-jhouston's People

Contributors

pennersr 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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-jhouston's Issues

Security mechanism

Hi,

Im not an expert on JS but can't a dedicated user post continously fake error report to server in order to fail it like DDOS? How can protect against such situation?

no on pypi

Hi,
this egg is not on pypi:

$ pip search django-jhouston

P.S. Great lib keep on going.

staticfiles namespace

I think the js file should be placed into jhouston/static/jhouston/js, not to jhouston/static/js/

Sentry support

It will be nice if jhuston be able to push data to sentry server insead of storing to self model.

logging integration / signal

First, what a great idea, I definitely need this in my project!

For it to really work for me, logging integration would be needed so that I know when these errors are occurring. This could be done really easily, and most flexibly, using a signal - just have a signal that is called in views.py when a new ErrorReport is created, and document it.

This is only a few lines, and I'm too lazy to do it myself and submit a pull request, so I thought I'd leave it here as a feature request... :-)

url should not verify if exists

Hello,

Good job. I like this idea. However i had some troubles with the current version. It was hanging my dev server.
I think that the verify_exist option of the UrlField should be disabled.

url = models.URLField(max_length=255, verify_exists=False)

With this change, it work ok.

What do you think?

Best
luc

Fetch instead of jQuery

Why not use fetch instead of jquery ? It’s available in all modern browsers and so does not require a jquery library (and that should be available on window)

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.