I have a mysql DATETIME value that is stored in system time, UTC. I need to convert that to my local timezone in django. Here is what I currently have:
DATETIME
1: Define the timezone in your view
from django.utils import timezone variable = timezone.now()
2: Then use it in your template
{% load l10n %} Teresina, {{variable |localize}}.