def __init__(self, *args, **kwargs):
        super(InvitationSignupForm, self).__init__(*args, **kwargs)
        try:
            self.fields.insert(0, 'code', forms.CharField(label=_('Invitation code')))
        except __HOLE__:  # Django 1.7
            new_fields = OrderedDict()
            new_fields['code'] = forms.CharField(label=_('Invitation code'))
            for k, v in self.fields.items():
                new_fields[k] = v
            self.fields = new_fields
dataset/ETHPy150Open idlesign/django-sitegate/sitegate/signup_flows/modern.py/InvitationSignupForm.__init__