Fixed #23167 - Add __repr__ to BaseForm

related to https://code.djangoproject.com/ticket/23167
Calling `is_valid()` in `__repr__` is not an option (as it triggers validation).