def typename(obj):
    if hasattr(obj, '__class__'):
        return getattr(obj, '__class__').__name__
    else:
        return type(obj).__name__
Send a notice for each registered user about an observed object.
dataset/ETHPy150Open madisona/django-google-maps/django_google_maps/fields.py/typename--crossover with--dataset/ETHPy150Open davemerwin/blue-channel/external_apps/notification/models.py/send_observation_notices_for