updated to work with new version of HotDjango