basic changes to try to get it working with django 1.5