Correctly check if some field is ManyToMany
Correctly check if some field is ManyToMany

Before this commit, OneToOne fields were treated like ManyToMany when representing its values. I fixed it using get_field_by_name to check if they really are ManyToMany.

edos21/django-model-report,edos21/django-model-report,soybackend/django-model-report,soybackend/django-model-report,soybackend/django-model-report,soybackend/django-model-report,edos21/django-model-report,edos21/django-model-report