TurboGears / tg2

Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications
http://www.turbogears.org/
Other
806 stars 78 forks source link

Add a new param to set the tz_aware flag in Ming Datastore creation #31

Closed rejoc closed 12 years ago

rejoc commented 12 years ago

Ming has the ability to deal with time zone aware datetimes or not (default is not). I'd like to have a configuration parameter to set this flag during Datastore creation.

amol- commented 12 years ago

This makes a lot of sense, I'll try to push a solution for it for 2.2.1

rejoc commented 12 years ago

:-)

amol- commented 12 years ago

0215cee937ce01a640b5c4f3300b3b7e26d09d95 should provide a fix for this issue and support pymongo connection options using the ming.connection set of options.