It's better to check for Name.MultipleObjectsReturned here

django.core.exceptions.MultipleObjectsReturned works for any object though.