- Code: Select all
from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
I didn't found patterns, include, url in Python27\Lib\site-packages\django\conf\urls folder. As my understanding, django.conf.urls gives the searching path beginning from a predefined sys location like PATH ENV. No files under \urls named as patterns, include or url. No files under \urls contain class or function names as patterns, include or url.
Could anyone tell me the reason? It's running very well on my machine. But I can't understand the logic.