Requires {% load tz %}
Add {% load tz %} near the top of any template that
uses |timezone. Without it Django does not
know the name and raises TemplateSyntaxError.
Converts one aware datetime to the time zone you name.
Template
{% load tz %}
{{ event.starts_at|timezone:"America/Chicago" }}
The single-value counterpart to {% timezone %}, for a page that shows one row in a different zone from the rest.
