Mainly notes to future-Twig (and for anyone else who may find them useful)
To convert the datetime object to a Unix timestamp using Django:
from django.utils.dateformat import format timestamp_string = format(datetime.now(), u'U')
from django.utils.dateformat import format
timestamp_string = format(datetime.now(), u'U')
Now go forth and be happy!