Thanks everyone.
I updated HttpRequest with HttpResponse.
Then in urls.py:
I did:
path(‘’, views.welcome)

Its working now

On Mon, May 4, 2020 at 3:06 PM Nomeh Uchenna Gabriel <
nomehgabri...@gmail.com> wrote:

> Hi! you're just visiting a different url from what you specified in your
> "urls.py" file.
>
> look closely at the routes "django" is telling you that it tried:
>
> [admin/, welcome.html/]
>
> ... these are truly the two paths that you specified, why on earth are you
> trying to visit a non-existing path(http://127.0.0.1:8000/)
>
> ... kindly visit (http://127.0.0.1:8000/welcome.html)
>
> and face your next error in the "views.py" file ('HttpRequest' instead of
> 'HttpResponse')
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f9c805f3-c264-46c6-ab20-153b3c7b9291%40googlegroups.com
> .
>
-- 
Regards
Deepti Sharma
Blog: https://deepti96.wordpress.com/
Github: https://github.com/dsdeeptisharma
Gitlab: https://gitlab.com/u/dsdeepti
"Great works are not performed by strength but by perseverance"

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJOjMFd%2BLhnP137V5Ojr990Q90423fAGWu-A9Qc7sf0oMsqiGA%40mail.gmail.com.

Reply via email to