Use formset error data to test for formset errors
Use formset error data to test for formset errors

Text changes for upcoming Django 3.2 has resulted in formset errors returning a different string with different Django versions - so test for the error code instead.

torchbox/django-modelcluster,wagtail/django-modelcluster