I am new to python . Im learning django web framework .
I dont understand how these lines of code works ?
at urls.py these two lines of code :
and another question is how does " from . import views" work ? I dont understand this line of code .
I dont understand how these lines of code works ?
at urls.py these two lines of code :
from django.conf.urls import url from . import viewsin django\conf\urls I dont see any module with "url" name .how does it work actually?
and another question is how does " from . import views" work ? I dont understand this line of code .