class ChangeEmailForm(forms.ModelForm):

    def __init__(self, user, *args, **kwargs):
        self.user = user
super(ChangeEmailForm, self).__init__(*args, **kwargs)
self.fields['email'].initial = user.email


class Meta:
    model = User
fields = 'email',

def save(self, commit=True):
    self.user.email = self.cleaned_data['email']
if commit:
    self.user.save()
return self.user
How to pass initial parameter to django's ModelForm instance?