> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Django

> How to enumerate routes in a Django app for UFL ingestion.

Routes live in `urls.py` `urlpatterns` lists (project + per-app `include()`s):

```python theme={null}
path("billing/", views.billing, name="billing"),
path("invoices/<int:pk>/", InvoiceDetail.as_view()),
path("", include("shop.urls")),   # recurse into included modules
```

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.