django 1.6 support (only for 1.6)