def model_key(model):
 return ('%s.%s' % (model._meta.app_label, model._meta.object_name.lower()))

def model_key ( model ) : return ( '%s.%s' % ( model . _meta . app_label , model . _meta . object_name . lower ( ) ) )
for a given model .