diff --git a/idhub/forms.py b/idhub/forms.py new file mode 100644 index 0000000..f384507 --- /dev/null +++ b/idhub/forms.py @@ -0,0 +1,11 @@ +from django import forms +from django.contrib.auth.models import User + + +class ProfileForm(form.ModelForm): + MANDATORY_FIELDS = ['first_name', 'last_name', 'email'] + OPTIONAL_FIELDS = [] + + class Meta: + model = User + fields = ('forst_name', 'last_name', 'email') \ No newline at end of file