def __init__(self, user, *args, **kwargs):
        super(SettingsForm, self).__init__(*args, **kwargs)
        self.fields['default_item_status'].queryset = ItemStatus.objects.filter(
            trash=False)

        try:
            conf = ModuleSetting.get_for_module(
                'treeio.infrastructure', 'default_item_status')[0]
            default_item_status = ItemStatus.objects.get(
                pk=long(conf.value), trash=False)
            self.fields['default_item_status'].initial = default_item_status.id
        except Exception:
            pass
Add or update the message with the specified ID.
dataset/ETHPy150Open treeio/treeio/treeio/infrastructure/forms.py/SettingsForm.__init__--crossover with--dataset/ETHPy150Open jbalogh/glow/vendor/lib/python/babel/messages/catalog.py/Catalog.__setitem__