Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
What I notice is that wgen you are creating ur urls at the project level, you used "hello/" and you include the the app level urls. If you want to request the route from the browser, you are suppose to use localhost:8000/hello, not localhost:home. Remember: you did not create a route for "home

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
r 15, 2023, 12:38 AM Lawal Tobiloba Samuel < oluwasheun9...@gmail.com> wrote: > What I notice is that wgen you are creating ur urls at the project level, > you used "hello/" and you include the the app level urls. > > > If you want to request the route from the bro

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
You are suppose to use localhost:8000/hello/hello. Because, you added hello as you path when you are including the app urls to the project url and also you made hello the path to the view of hello_delhi_ Which makes 2 hello's.. Use localhost:8000/hello/hello On Sat, Apr 15, 2023, 9:27 AM

Re: User not Authenticating.

2023-04-24 Thread Lawal Tobiloba Samuel
one: login(request, userLogin) return redirect("home") else: messages.info(request, "Username or Password incorrect.") context = {"title": "User Login"} return render(request, "account/login.html",

Re: User not Authenticating.

2023-04-24 Thread Lawal Tobiloba Samuel
at was why it did not authenticate. I just had to add the name parameter in the input tag of login.html On Mon, Apr 24, 2023, 5:29 PM Opeoluwa Fatunmbi wrote: > > Let me see your login.html > > > > > > > On Mon, 24 Apr 2023 at 17:28, Lawal Tobiloba Samuel < > oluw