from django.template.defaultfilters import date as django_date_filter print django_date_filter(mydate, 'P, D M j, Y')