Submit button doesn’t refresh page and send POST request
I’m doing registration on Django. I made a form, added a button that should refresh the page and send a POST request. But the button does not update the page and does not send the request. I doesn’t have any scripts on JavaScript.
My views.py code:
`from django.shortcuts import render, redirect
from .models import User
from .forms import UserForm
from django.views import View