def valueChangedEvent(self, axisValue):
        index = self.findData(QtCore.QVariant(QtCore.QStringList(['variables', str(axisValue)])))

        # If user entered a value into the lineEdit.
        if index == -1:
            self.updateValueFromLineEditText(axisValue)
            return

        # If user selected a value from the combo box.
        # Selecting values from the combo box will alternate between setting the
        # min and max values & emit a signal to update corresponding slider
        if (self.setMin == True):
            self.setMin = False
            self.minValue = axisValue
            self.emit(QtCore.SIGNAL('axisComboMinValueChanged (int)'), self.currentIndex())
        else:
            self.setMin = True
            self.maxValue = axisValue
            self.emit(QtCore.SIGNAL('axisComboMaxValueChanged (int)'), self.currentIndex())

        self.setLineEditText()
Django's render_to_response with a LFS message.
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_window.py/QAxisComboWidget.valueChangedEvent--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/core/utils.py/render_to_message_response