URLs in Django

urls.py is responsible for mapping URL patterns to applications, and URL configurations (URLconfs) are like directories of websites powered by Django. It's essentially a mapping table between a URL pattern and the view function to be called for that URL pattern; that's how you tell Django to call this code for this URL and that code for that URL

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325224248&siteId=291194637