Thanks Shaun, I renamed the "now" variable as "dt" but it didn't help. I've also tried your 1-tuple idea-- no change.
Note that the offending line isn't the html assignment but: now = datetime.datetime.now() On Feb 10, 6:22 am, Shawn Milochik <[email protected]> wrote: > Perhaps replace the bare 'now' with a tuple: > > Before: > > > html = "<html><body>It is now %s.</body></html>" % now > > After: > > > html = "<html><body>It is now %s.</body></html>" % (now,) > > Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

