from django.forms import ModelForm
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
from userApp.models import Details


class UsersignupForm(UserCreationForm):


    class Meta:
        model = User
        fields = ['first_name', 'last_name', 'username', 'password1',
            'password2', 'email']


class DetailsForm(ModelForm):


    class Meta:
        model = Details
        fields = ['age', 'phoneNo', 'gender', 'picture', 'date_of_birth']

de991720b62134cddcd1d9cfdf0840eb993cdc6f
<mask token>

<mask token>


class DetailsForm(ModelForm):


    class Meta:
        model = Details
        fields = ['age', 'phoneNo', 'gender', 'picture', 'date_of_birth']

<mask token>


class UsersignupForm(UserCreationForm):


    class Meta:
        model = User
        fields = ['first_name', 'last_name', 'username', 'password1',
            'password2', 'email']


class DetailsForm(ModelForm):


    class Meta:
        model = Details
        fields = ['age', 'phoneNo', 'gender', 'picture', 'date_of_birth']

from django.forms import ModelForm
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
from userApp.models import Details


class UsersignupForm(UserCreationForm):


    class Meta:
        model = User
        fields = ['first_name', 'last_name', 'username', 'password1',
            'password2', 'email']


class DetailsForm(ModelForm):


    class Meta:
        model = Details
        fields = ['age', 'phoneNo', 'gender', 'picture', 'date_of_birth']
