#22034 skip checks for generic InlineAdmin classes

https://code.djangoproject.com/ticket/22034