def ogrinspect(*args, **kwargs):
 return '\n'.join((s for s in _ogrinspect(*args, **kwargs)))

def ogrinspect ( * args , ** kwargs ) : return '\n' . join ( ( s for s in _ogrinspect ( * args , ** kwargs ) ) )
given a data source and a string model name this function will generate a geodjango model .