django-hilbert icon indicating copy to clipboard operation
django-hilbert copied to clipboard

This is one of many Django apps which is a loose collection of utility functions.

django-hilbert

This is one of many Django apps which is a loose collection of utility functions. It is a mixture of Python code and Javascript that I find myself writing over and over. Primarily it focuses around utilities for AJAX and testing.

Development Status

Note that while there are a few handy pieces of code in this project, it does nothing well and is being retired.

If you are using the SSL related tools I suggest using django-secure <https://pypi.python.org/pypi/django-secure>_. Even better just run your whole site under SSL and do the redirect at the load balancer.

The AppMediaDirectoriesFinder is no longer relevant now that apps have migrated to the /static/ convention.

Some of the view decorators and testing utilities can still be handy but are trivial to recreate or copy for your own needs.

Installation Requirements

  • Django <http://www.djangoproject.com/>_ >= 1.2
  • jQuery <http://jquery.com/>_ >= 1.4.2

Optional (but recommended)

  • django-staticfiles <https://github.com/jezdez/django-staticfiles>_

The jQuery library is not included in the distribution but should be included in your templates.

To use the :ref:CoverageRunner you need to install Ned Batchelder's coverage.py <http://nedbatchelder.com/code/modules/coverage.html>_.

Installation Instructions

It is easiest to install django-hilbert from PyPi <http://pypi.python.org/pypi>_::

pip install django-hilbert