The view App.views.RegisterUser didn't return an H

ValueError at /register/

The view App.views.RegisterUser didn’t return an HttpResponse object. It returned None instead.

Request Method: POST
Request URL: http://127.0.0.1:8000/register/
Django Version: 4.0.2
Exception Type: ValueError
Exception Value: The view App.views.RegisterUser didn’t return an HttpResponse object. It returned None instead.

please solution this error