only works with django 1.4.5