test polymorphic.__version__ to determine the api of get_child_type_choices

get_child_type_choices is not part of Django, so checking the Django version does not work.