Django 1.8 has an undocumented change regarding template comments

2015-07-30 Thread Robert Rollins
I can't tell which exact release introduced this, since I went directly from 1.7.9 to 1.8.3, but one of my templates suddenly started rendering differently when I did. The template had a typo with one of its {# #}-style template comments; it was accidentally written as: {# comment here %}. Thi

Loading timezone naive data into your test database with USE_TZ = True

2014-09-16 Thread Robert Rollins
I have a legacy database from which my Django application must migrate data into a Django database. The relevant dates fields are actually TIMESTAMP columns in the database, but something (perhaps Django, or python's MySQL driver?) loads these columns as timezone naive datetime objects, rather