Skip to content
Houston, we have a Javascript problem
Python JavaScript
Latest commit b76fceb Feb 21, 2012 @pennersr URLs and UA too long
Failed to load latest commit information.
jhouston URLs and UA too long Feb 21, 2012
.gitignore Initial commit Feb 14, 2012
AUTHORS Adding META files Feb 14, 2012
LICENSE Adding META files Feb 14, 2012
MANIFEST.in jhouston.js relocated in MANIFEST Feb 15, 2012
README.rst Adding META files Feb 14, 2012
setup.py Fixed package_data Feb 15, 2012

README.rst

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>
Something went wrong with that request. Please try again.