Django TutorialLesson 9Free preview
Django URLs
This lesson is part of Django · All levels
Summary
Django URLconf maps the URL pattern to a particular view through the path function. Each project has its own main urls.py, and each application can have its own urls.py. With include, routing can be refined per application.
Key points
- Path function maps the URL to view
- Urls.py project is root URLconf
- Include() connects urls.py applications
- Dynamic string using type converter
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.