Fixed #23167 - Add __repr__ to BaseForm

related to https://code.djangoproject.com/ticket/23167