joshuakarjala/django-hunger — pull request #16 by martey (2012-11-12 21:01:40+00:00)
Title: middleware does not work out of the box with Python <2.7

The middleware module relies on importlib, [which was added in Python 2.7](http://docs.python.org/library/importlib.html). The library runs fine if the [backported module](http://pypi.python.org/pypi/importlib/) is installed, but it would be great if it could install it automatically if needed. Maybe this [StackOverflow question about conditionally installing modules](http://stackoverflow.com/q/9418064/113527) could help?