Re: difference in datetime aggregation when using sqlite3 instead of mysql

2013-10-26 Thread Wesley George
On Saturday, October 26, 2013 3:49:42 PM UTC-4, Ramiro Morales wrote: > On Sat, Oct 26, 2013 at 3:47 PM, Wesley George > > > wrote: > > > > I'm working on a django application that uses the mysql backend in > production but the sqlite3 db backend during dev to speed up testing. > > > > I wa

Re: difference in datetime aggregation when using sqlite3 instead of mysql

2013-10-26 Thread Ramiro Morales
On Sat, Oct 26, 2013 at 3:47 PM, Wesley George wrote: > > I'm working on a django application that uses the mysql backend in production > but the sqlite3 db backend during dev to speed up testing. > > I was surprised to find these backends differ when populating extra model > fields with aggrega

Re: difference in datetime aggregation when using sqlite3 instead of mysql

2013-10-26 Thread Avraham Serour
Using sqlite for dev is common practive, don't worry, it is not naive to do it. I remember seeing somehing about contenttypes and sqlite, I'm too hungry to remember now, maybe someone else in the list can give a better input than me. on the query result just do a if DEBUG or if DEVELOPMENT or if b