Fixed compatibility with django versions < v 1.5