Fix for #22982

Here's a fix for https://code.djangoproject.com/ticket/22982

To fix I've fallen back to the `repr` method for `GenericRelatedObjectManager`s, as the `str` method results in an exception