Skip to content

The view accounts.views.register didn't return an HttpResponse object. It returned None instead. #6

@bvalgard

Description

@bvalgard

Hi Max,

Thank you for your youtube videos and making your materials available.

I keep running into a value error. In the Django Tutorial Part 15 I was getting the following issue: "The view accounts.views.register didn't return an HttpResponse object. It returned None instead."

I cloned this repository so I could see where I was making the mistake. The same issue occurs in the cloned repository as well.

These are the steps I take to get the error. I make migrations, then run the server. Then I go to the website and click on register, I add in the credentials (username, first name, etc.) then click submit. The website always raises: "ValueError at /account/register/"
"The view accounts.views.register didn't return an HttpResponse object. It returned None instead."

I am using windows 10.

Any help would be greatly appreciated!
Thanks,
Bradon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions