Beispiel #1
0
def update( textes, enquete, csvdict ):

    logger.info( "        %s documents found in enquete: \"%s\", id:%s" % ( textes.count(), enquete.name, enquete.id ))
    
    
    #Create vizControl entry
    
    try:
        t = VizControl.objects.get( enquete=enquete )
    except VizControl.DoesNotExist, e:
        logger.info(  "            creating vizControl...")
        viz = VizControl( enquete=enquete, timeline=True, classement=True, map=True )
        viz.save()