from userauths.models import User, Profile
from userauths.forms import UserRegisterForm
def RegisterView(request):
form = UserRegisterForm()
context = {
"form":form
}
return render(request, "userauths/sign-up.html", context)
dont know if is the spelling or my vscode
seen the problem thank you
If you see an error in vscode saying you are importing incorrect code, check what interpreter you are using.
1 Like