text: from django.shortcuts import render
  
  from .forms import UserRegisterForm
  
  
  def register_view(request):
      form = UserRegisterForm()
      if request.method == "POST":
          form = UserRegisterForm(request.POST)
          if form.is_valid():
              form.save()
      context = {"form": form}
      return render(request, "register.html", context)
  