Skip to main content
Routes live in urls.py urlpatterns lists (project + per-app include()s):
Resolve include() chains to get the full path. <int:pk>/<slug:name> converters are dynamic segments — substitute samples (/invoices/1/). Source: the template the view renders — templates/<name>.html — plus base.html and {% include %} partials. Title: {% block title %} in the template, or the view name. Styles: static/css/ entry sheets and any CSS the template links.