#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( AggregateMetricForm , self ) . __init__ ( * kwargs , ** kwargs ) #NEWLINE# r = R ( ) #NEWLINE# choices = [ ( slug , slug ) for slug in r . metric_slugs ( ) ] #NEWLINE# self . fields [ 'metrics' ] . choices = choices