support django 1.5, don't support 1.2