Fix for django format crash (one of the many) :(