in this

from django.urls import URLPattern, url
from . import views

urlpatterns = [
    url('', views.index, name=index),
]

can u replace with this

from django.urls import path
from . import views

urlpatterns = [
    path('', views.index, name=index),
]



On Mon, May 27, 2019 at 8:32 PM Madhur Kabra <madhurkabr...@gmail.com>
wrote:

> I am getting the url conf error, I  have attached the relevant files.
> Thanks for the assistance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/452a42ef-70be-4f8f-b963-223909507a48%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/452a42ef-70be-4f8f-b963-223909507a48%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAHEDv0ZQUL9dFZQuQSfSqrQipEwGZh73y8pOaQsKvmRbb2Sc%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to