The empty path didn't match

16 views
Skip to first unread message

Vinay Kumar

unread,
Apr 9, 2020, 1:27:02 PM4/9/20
to Django users
Hello all !

I am new in Django technology.

I am trying to make a small project just to hands on django , but unfortunately i am getting error 

Page not found (404)

Request Method:GET
Request URL:http://127.0.0.1:8000/

Using the URLconf defined in durganewsproject.urls, Django tried these URL patterns, in this order:

  1. admin/
  2. $/

The empty path didn't match any of these.

I have attached the screenshots of the pages..

kindly help me out with this issue , i have tried many times with different ways but getting the same error ..


1.png
2.png

JEGATHEESWARAN SUNDARAVADIVEL

unread,
Apr 9, 2020, 1:32:30 PM4/9/20
to django...@googlegroups.com
In your urlpatterns remove $/ just keep empty “ “ for views.homepage

Thanks 
Jegatheeswaran 

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c6b0e587-a09b-433a-b575-0e4cd21446ac%40googlegroups.com.
--
JAGATHEESWARAN

waqar khan

unread,
Apr 11, 2020, 9:57:20 AM4/11/20
to django...@googlegroups.com
you can start  server and open address bar

type google Chrome:- 127.0.0.1:8000/$/

Vinay Kumar

unread,
Apr 11, 2020, 10:09:56 AM4/11/20
to django...@googlegroups.com
Thank you soo much for the help it's working now ...

Reply all
Reply to author
Forward
0 new messages