def _get_model_slug(model):
    ct = ContentType.objects.get_for_model(model)
    return u'%s.%s' % (ct.app_label, ct.model)
dataset/ETHPy150Open vikingco/django-datatrans/datatrans/views.py/_get_model_slug/original