def normalDict(request_data):
 return dict(((k, v[0]) for (k, v) in request_data.iteritems()))

def normalDict ( request_data ) : return dict ( ( ( k , v [ 0 ] ) for ( k , v ) in request_data . iteritems ( ) ) )
converts a django request mutlivaluedict into a standard python dict whose values are the first value from each of the multivaluedicts value lists .