title: Django datetime localization
body: <p>I want to output a <code>datetime</code> object (with timezone info set to UTC) in a Django template.  I have I18N, L10N, and TZ support all on in the settings.  I've also added the <code>LocaleMiddleware</code> and set the language settings.  Settings also contains my local timezone as the default.  If I simply do <code>{{ mydatetime }}</code> in the template than it properly gives the information in the local timezone.  However <code>{{ mydatetime|localize }}</code> seems to always output the datetime in UTC.</p>
  
  <p>Now, I know you're supposed to call <code>django.utils.timezone.activate()</code> to report the current user's timezone (which I'm not doing), but the docs seem to indicate that if you don't use that to report the user's timezone that it uses the default.</p>
  
  <p>Also, does the <code>localize</code> filter get used on datetimes automatically?  Is the only purpose of having an explicit call is for when you use <code>{% localize off %}</code> and you want a one-off localization made?</p>