“def signup(request):
if request.method == ‘POST’:
form = UserCreationForm(request.POST)
if form.is_valid():
user=form.save()
login(request,user)
return redirect(frontpage)
else:
form=UserCreationForm()
return render('core/signup.html',{'form':form})" when ı running this code block ı return a error "TypeError at /signup/ join() argument must be str, bytes, or os.PathLike object, not 'dict'" how can ı fix it?
ı wanna make a sign up form
New contributor
Oktay Evrensel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.