from django import forms
from django.contrib.auth.models import User
from basic_app.models import userinfo
class userform(forms.ModelForm):
    password=forms.CharField(widget=forms.PasswordInput())
    class Meta():
        model= User
        fields={'username','password','email'}

class userinfoform(forms.ModelForm):
    class Meta():
        model=userinfo
        fields="__all__"

6652b4f67bf7ea3a55185641883ea892353bc095
<mask token>


class userinfoform(forms.ModelForm):


    class Meta:
        model = userinfo
        fields = '__all__'

<mask token>


class userform(forms.ModelForm):
    <mask token>


    class Meta:
        model = User
        fields = {'username', 'password', 'email'}


class userinfoform(forms.ModelForm):


    class Meta:
        model = userinfo
        fields = '__all__'

<mask token>


class userform(forms.ModelForm):
    password = forms.CharField(widget=forms.PasswordInput())


    class Meta:
        model = User
        fields = {'username', 'password', 'email'}


class userinfoform(forms.ModelForm):


    class Meta:
        model = userinfo
        fields = '__all__'

from django import forms
from django.contrib.auth.models import User
from basic_app.models import userinfo


class userform(forms.ModelForm):
    password = forms.CharField(widget=forms.PasswordInput())


    class Meta:
        model = User
        fields = {'username', 'password', 'email'}


class userinfoform(forms.ModelForm):


    class Meta:
        model = userinfo
        fields = '__all__'

from django import forms
from django.contrib.auth.models import User
from basic_app.models import userinfo
class userform(forms.ModelForm):
    password=forms.CharField(widget=forms.PasswordInput())
    class Meta():
        model= User
        fields={'username','password','email'}

class userinfoform(forms.ModelForm):
    class Meta():
        model=userinfo
        fields="__all__"
