Fix django deprecation  with empty exclude list.