static
Add static-related context variables to the context.
def static(
request: HttpRequest
) - > dict
Add static-related context variables to the context.
Parameters
| Name | Type | Description |
|---|---|---|
| request | HttpRequest | The current HTTP request object used to determine context |
Returns
| Type | Description |
|---|---|
dict | A dictionary containing the STATIC_URL setting, which provides the base URL for serving static files |