Hello

Here comes my url page code 

from django.contrib import admin
from django.urls import path

urlpatterns = [
    path('admin/', admin.site.urls),
    #url(r'^polls/', include('polls.urls')),
]
  
When I run the the code and want to go to admin page I see this message:
 
Page not found!

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

   1. admin/

The current path, admin, didn't match any of these.


What is wrong with my code Please inform me.


Thanks

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/45c97cdd-0fda-41f9-ac19-21e0dddfdf2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to