skip to Main Content

Unable to link my django to mysql database (Form)

can someone help me with my code? Why is it not working? My views.py def register(request): if request.method == 'POST': form = RegisterForm(request.POST) if form.is_valid(): fullname = form.cleaned_data.get('fullname') emailaddress = form.cleaned_data.get('emailaddress') password = form.cleaned_data.get('password') form.save() return redirect('/') else: form =…

VIEW QUESTION
Back To Top
Search