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

Re: [ANN] django-synth, a bridge to Synth's C++ template engines

2014-09-16 Thread Vladimir U.
Alvaro J. Genial It would be great if someone with C++ backgrounds could participate in the development of fast Json Encoderr/Decoder - https://github.com/esnme/ultrajson (They license similar to Apache and it seems they moved away fro

Re: Proposal: add a get_for_template method to ContextList

2014-09-16 Thread germano guerrini
Hi Florian, thanks for your reply. I clearly didn't express myself properly, so let me try again with a simple example. Suppose you are dealing with a detail view, whose context has an "object" key that refers to the object being displayed. Then, in the rendered template, you might have an inc