title: I am trying to create custom user registration form
body: <p>I am getting this error.Below mentioned code is for forms.py</p>
  
  <p>forms.py</p>
  
  <pre><code>from django import forms
  from dappx.models import UserProfileInfo
  from django.contrib.auth.models import User
  
  
  class UserForm(forms.ModelForm):
     password = forms.CharField(widget=forms.PasswordInput())
  
     class Meta:
        model = User
        fields = ['username','password','email']
  
  
  class UserProfileInfoForm(forms.ModelForm):
  
     class Meta:
        model = UserProfileInfo
        fields = ['portfolio_site','profile_pic']
  </code></pre>