Django form redirects to 404

I have a user registration form that when filled in initially it went to /user/ but no URL exists there and it returned a 404. So instead of doing that I made a view at that URL but then it just started to look at /user/account/ and then that returns a 404.

I have set up set_success_url to the URL that I want the form to redirect too but I’m lost.

Thank you for your help!

Welcome @Nizumzen !

In order to help you, we’re going to need a lot more information. Please post the view that is causing this issue and the contents of your urls.py file.

Note: When posting code here, enclose the code between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code properly formatted.