Fix Django admin template error when working with Locations